Rocket/examples/cookies/src
Benedikt Weber 1f06bb0b73 Allow status customization in 'Forward' outcomes.
Prior to this commit, all forward outcomes resulted in a 404. This
commit changes request and data guards so that they are able to provide
a `Status` on `Forward` outcomes. The router uses this status, if the
final outcome is to forward, to identify the catcher to invoke.

The net effect is that guards can now customize the status code of a
forward and thus the error catcher invoked if the final outcome of a
request is to forward.

Resolves #1560.
2023-05-05 18:21:17 -07:00
..
main.rs Prefix 'content' responder names with 'Raw'. 2021-07-20 02:09:11 -07:00
message.rs Add 'context!' for ad-hoc templating contexts. 2021-06-30 10:09:28 -07:00
session.rs Allow status customization in 'Forward' outcomes. 2023-05-05 18:21:17 -07:00
tests.rs Completely revamp, redo examples. 2021-04-07 23:09:05 -07:00