Rocket/examples/manual_routes
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 Upgrade to tokio 0.2.0. 2020-07-11 09:24:29 -07:00
Rocket.toml Use port 8000 as default for all environments. 2018-01-20 09:43:19 -08:00