Skip to content

Commit

Permalink
Fix typo in requests guide: 'of' -> 'or'.
Browse files Browse the repository at this point in the history
  • Loading branch information
machineloop authored and SergioBenitez committed Dec 11, 2018
1 parent 746023f commit 4a0fee4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion site/guide/4-requests.md
Original file line number Diff line number Diff line change
Expand Up @@ -618,7 +618,7 @@ fn good(custom: Custom, cookies: Cookies) { .. }
A route can specify the data format it is willing to accept or respond with by
using the `format` route parameter. The value of the parameter is a string
identifying an HTTP media type or a shorthand variant. For instance, for JSON
data, the string `application/json` of simply `json` can be used.
data, the string `application/json` or simply `json` can be used.

When a route indicates a payload-supporting method (`PUT`, `POST`, `DELETE`, and
`PATCH`), the `format` route parameter instructs Rocket to check against the
Expand Down

0 comments on commit 4a0fee4

Please sign in to comment.