Rocket/examples
Sergio Benitez 9160483554 A route with unspecified query parameters accepts any.
This is a breaking change. It modifies collisions with respect to query
parameters as well as the default ranking of routes.

A route that does not specify query parameters will now match against
requests with _and without_ query parameters, assuming all other
elements of the route match as well. A route that _does_ specify query
parameters will only match requests with query parameters; this remains
true.

To accommodate this change in the most natural manner possible, the
default rankings of routes have changed as illustrated below:

  |-------------+-------+----------+---------------|
  | static path | query | new rank | previous rank |
  |-------------+-------+----------+---------------|
  | yes         | yes   | -4       | 0             |
  | yes         | no    | -3       | 0             |
  | no          | yes   | -2       | 1             |
  | no          | no    | -1       | 1             |
  |-------------+-------+----------+---------------|

In other words, the most specific routes, with preference for paths over
queries, are ranked highest (lower number).
2017-03-27 03:52:26 -07:00
..
config Return a `LaunchError` from `launch` when launching fails. 2017-03-15 22:10:09 -07:00
content_types Set examplem versions to 0.0.0. 2017-03-08 14:29:24 -08:00
cookies Return a `LaunchError` from `launch` when launching fails. 2017-03-15 22:10:09 -07:00
errors Return a `LaunchError` from `launch` when launching fails. 2017-03-15 22:10:09 -07:00
extended_validation Return a `LaunchError` from `launch` when launching fails. 2017-03-15 22:10:09 -07:00
form_kitchen_sink Set examplem versions to 0.0.0. 2017-03-08 14:29:24 -08:00
forms Return a `LaunchError` from `launch` when launching fails. 2017-03-15 22:10:09 -07:00
from_request Return a `LaunchError` from `launch` when launching fails. 2017-03-15 22:10:09 -07:00
handlebars_templates Set examplem versions to 0.0.0. 2017-03-08 14:29:24 -08:00
hello_alt_methods Set examplem versions to 0.0.0. 2017-03-08 14:29:24 -08:00
hello_person Set examplem versions to 0.0.0. 2017-03-08 14:29:24 -08:00
hello_ranks Set examplem versions to 0.0.0. 2017-03-08 14:29:24 -08:00
hello_world Set examplem versions to 0.0.0. 2017-03-08 14:29:24 -08:00
json Set examplem versions to 0.0.0. 2017-03-08 14:29:24 -08:00
manual_routes Slight cleanup of manual_routes example. 2017-03-08 15:22:36 -08:00
msgpack Check msgpack example version to 0.0.0. 2017-03-08 17:56:08 -08:00
optional_redirect Return a `LaunchError` from `launch` when launching fails. 2017-03-15 22:10:09 -07:00
optional_result Set examplem versions to 0.0.0. 2017-03-08 14:29:24 -08:00
pastebin Return a `LaunchError` from `launch` when launching fails. 2017-03-15 22:10:09 -07:00
query_params Return a `LaunchError` from `launch` when launching fails. 2017-03-15 22:10:09 -07:00
raw_sqlite Set examplem versions to 0.0.0. 2017-03-08 14:29:24 -08:00
raw_upload Set examplem versions to 0.0.0. 2017-03-08 14:29:24 -08:00
redirect Set examplem versions to 0.0.0. 2017-03-08 14:29:24 -08:00
session Return a `LaunchError` from `launch` when launching fails. 2017-03-15 22:10:09 -07:00
state Set examplem versions to 0.0.0. 2017-03-08 14:29:24 -08:00
static_files A route with unspecified query parameters accepts any. 2017-03-27 03:52:26 -07:00
stream Set examplem versions to 0.0.0. 2017-03-08 14:29:24 -08:00
testing Return a `LaunchError` from `launch` when launching fails. 2017-03-15 22:10:09 -07:00
todo Use ansi_term::Color, not Colour. 2017-03-08 15:08:13 -08:00
uuid Ensure no files have trailing whitespace. 2017-03-15 19:26:15 -07:00