Rocket/lib/src
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
..
config Document the Limits structure. Change default workers. 2017-06-11 03:39:30 -07:00
data Remove Session in favor of private cookies. New testing API. 2017-06-08 17:34:50 -07:00
fairing Switch to 'yansi' for all terminal coloring. 2017-06-01 22:10:05 -07:00
http Remove Session in favor of private cookies. New testing API. 2017-06-08 17:34:50 -07:00
local Tidy up broken links. Set 'html_root_url'. 2017-06-11 01:03:59 -07:00
request Add support for lenient forms via 'LenientForm'. 2017-06-18 01:59:22 -07:00
response Remove Session in favor of private cookies. New testing API. 2017-06-08 17:34:50 -07:00
router Clean up LaunchError docs. Add Rocket::{config, routes} example. 2017-06-12 15:11:01 -07:00
catcher.rs Switch to 'yansi' for all terminal coloring. 2017-06-01 22:10:05 -07:00
codegen.rs Use MediaType instead of ContentType for Route format. 2017-03-28 00:12:59 -07:00
error.rs Clean up LaunchError docs. Add Rocket::{config, routes} example. 2017-06-12 15:11:01 -07:00
ext.rs Initial implementation of fairings: structured middleware for Rocket. 2017-04-20 13:44:19 -07:00
handler.rs Remove config global state. Use Responder::respond_to. 2017-05-19 03:29:08 -07:00
lib.rs Clean up LaunchError docs. Add Rocket::{config, routes} example. 2017-06-12 15:11:01 -07:00
logger.rs Switch to 'yansi' for all terminal coloring. 2017-06-01 22:10:05 -07:00
outcome.rs Switch to 'yansi' for all terminal coloring. 2017-06-01 22:10:05 -07:00
rocket.rs Clean up LaunchError docs. Add Rocket::{config, routes} example. 2017-06-12 15:11:01 -07:00