mirror of https://github.com/rwf2/Rocket.git
c58ca894b7
This is a breaking change. This commit changes the meaning of the `format` route attribute when used on non-payload carrying requests (GET, HEAD, CONNECT, TRACE, and OPTIONS) so that it matches against the preferred media type in the `Accept` header of the request. The preferred media type is computed according to the HTTP 1.1 RFC, barring a few specificty rules to come. |
||
---|---|---|
.. | ||
src | ||
tests | ||
Cargo.toml | ||
build.rs |