Rocket/lib/tests
Sergio Benitez 6a9421935e Add 'Request::route' method to get active 'Route'.
This commit also adds the `base` field to `Route` which allows the
base mount point to be retrieved. Finally, this commits adds an
implementation of `FromRequest` for `Route` which returns the active
route if one is available or forwards otherwise.

This commit is a breaking change: it makes `Request` and `MockRequest`
invariant over the lifetime `'r`. While this shouldn't affect most
applications, it may affect some.

Resolves #108.
2017-05-29 18:00:33 -07:00
..
form_method-issue-45.rs Remove 'testing' feature. Close stream on network error. 2017-04-20 20:36:12 -07:00
form_value_decoding-issue-82.rs Remove 'testing' feature. Close stream on network error. 2017-04-20 20:36:12 -07:00
head_handling.rs Remove 'testing' feature. Close stream on network error. 2017-04-20 20:36:12 -07:00
limits.rs Remove config global state. Use Responder::respond_to. 2017-05-19 03:29:08 -07:00
mount_point.rs Panic on illegal, dynamic mount points. 2016-12-17 10:51:44 -08:00
precise-content-type-matching.rs Remove 'testing' feature. Close stream on network error. 2017-04-20 20:36:12 -07:00
query-and-non-query-dont-collide.rs Remove 'testing' feature. Close stream on network error. 2017-04-20 20:36:12 -07:00
redirect_from_catcher-issue-113.rs Remove 'testing' feature. Close stream on network error. 2017-04-20 20:36:12 -07:00
remote-rewrite.rs Remove 'testing' feature. Close stream on network error. 2017-04-20 20:36:12 -07:00
route_guard.rs Add 'Request::route' method to get active 'Route'. 2017-05-29 18:00:33 -07:00
segments-issues-41-86.rs Remove 'testing' feature. Close stream on network error. 2017-04-20 20:36:12 -07:00