mirror of
https://github.com/rwf2/Rocket.git
synced 2025-01-18 15:39:04 +00:00
Clarify explanation of reinterpreted request methods in the requests guide.
This commit is contained in:
parent
7fa496f9f8
commit
7b757b2d23
@ -58,7 +58,7 @@ your application explicitly handles.
|
||||
|
||||
### Reinterpreting
|
||||
|
||||
Because HTML forms can only be directly submitted as `GET` or `POST` requests,
|
||||
Because web browsers only support submitting HTML forms as `GET` or `POST` requests,
|
||||
Rocket _reinterprets_ request methods under certain conditions. If a `POST`
|
||||
request contains a body of `Content-Type: application/x-www-form-urlencoded` and
|
||||
the form's **first** field has the name `_method` and a valid HTTP method name
|
||||
|
Loading…
Reference in New Issue
Block a user