Rocket/core/http
Sergio Benitez 45b4436ed3 Add default catchers: '#[catch(default)]'.
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'.
2020-07-30 01:55:41 -07:00
..
src Add default catchers: '#[catch(default)]'. 2020-07-30 01:55:41 -07:00
Cargo.toml Improve diagnostics, especially on stable. 2020-07-21 15:31:42 -07:00