mirror of
https://github.com/rwf2/Rocket.git
synced 2025-02-06 16:52:03 +00:00
fb8fdc3bc2
There's something going on with Hyper. When a 303 (see other) response is sent in response to a POST, the browser does a GET to the location header. Hyper somehow misreads the method parameter here, resulting in a route failer. I need to MITM the connection to see exactly what the browser is sending and what Hyper is receiving to see who's wrong.
8 lines
226 B
HTML
8 lines
226 B
HTML
<h1>Login</h1>
|
|
|
|
<form action="/login" method="post" accept-charset="utf-8">
|
|
Username:<input type="text" name="username">
|
|
Password:<input type="password" name="password">
|
|
<input type="submit" value="Login">
|
|
</form>
|