mirror of https://github.com/rwf2/Rocket.git
45b4436ed3
The bulk of the changes in this commit are for creating an 'ErrorHandler' trait that works like the 'Handler' trait, but for errors. Furthermore, Rocket's default catcher now responds with a JSON payload if the preferred 'Accept' media type is JSON. This commit also fixes a bug in 'LocalRequest' where the internal 'Request' contained an correct 'URI'. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
Rocket.toml |