Rocket/lib/tests
Sergio Benitez a3ea9d0f9a Add support for lenient forms via 'LenientForm'.
This commit changes the 'FromForm' trait in two ways:

  1. The singular method is now named 'from_form'.
  2. The method takes a second parameter: 'strict: bool'.

The 'strict' parameter is used to specify whether form parsing should
be strict or not (i.e. lenient). When parsing is lenient, extra form
fields do not result in an error. This lenient behavior is used by a
new 'LenientForm' data guard type to request lenient form parsing. The
behavior for 'Form' remains unchanged.

Resolves #242.
2017-06-18 01:59:22 -07:00
..
form_method-issue-45.rs Remove Session in favor of private cookies. New testing API. 2017-06-08 17:34:50 -07:00
form_value_decoding-issue-82.rs Remove Session in favor of private cookies. New testing API. 2017-06-08 17:34:50 -07:00
head_handling.rs Remove Session in favor of private cookies. New testing API. 2017-06-08 17:34:50 -07:00
limits.rs Document the `Limits` structure. Change default workers. 2017-06-11 03:39:30 -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 Session in favor of private cookies. New testing API. 2017-06-08 17:34:50 -07:00
query-and-non-query-dont-collide.rs Remove Session in favor of private cookies. New testing API. 2017-06-08 17:34:50 -07:00
redirect_from_catcher-issue-113.rs Remove Session in favor of private cookies. New testing API. 2017-06-08 17:34:50 -07:00
remote-rewrite.rs Remove Session in favor of private cookies. New testing API. 2017-06-08 17:34:50 -07:00
route_guard.rs Clean up LaunchError docs. Add Rocket::{config, routes} example. 2017-06-12 15:11:01 -07:00
segments-issues-41-86.rs Remove Session in favor of private cookies. New testing API. 2017-06-08 17:34:50 -07:00
strict_and_lenient_forms.rs Add support for lenient forms via 'LenientForm'. 2017-06-18 01:59:22 -07:00