Rocket/core/lib/tests
Sergio Benitez 63e6845386 Revamp 'Response', 'Body' types.
This is a breaking change for many consumers of the 'Response' and all
consumers of the 'Body' API. The summary of breaking changes is:

  * 'Response::body()', 'Response::body_mut()' are infallible.
  * A 'Body' can represent an empty body in more cases.
  * 'ResponseBuilder' is now simply 'Builder'.
  * Direct body read methods on 'Response' were removed in favor of
    chaining through 'body_mut()': 'r.body_mut().to_string()'.
  * Notion of a 'chunked_body' was removed as it was inaccurate.
  * Maximum chunk size can be set on any body.
  * 'Response' no longer implements 'Responder'.

A few bugs were fixed in the process. Specifically, 'Body' will emit an
accurate size even for bodies that are partially read, and the size of
seek-determined bodies is emitted on HEAD request where it wasn't
before. Specifics on transport were clarified, and 'Body' docs greatly
improved as a result.
2021-04-28 02:21:33 -07:00
..
absolute-uris-okay-issue-443.rs Test 'secret_key' validation, now on pre-launch. 2021-03-09 21:57:26 -08:00
can-correct-bad-local-uri.rs Impl 'DerefMut', 'inner_mut()' for 'LocalRequest'. 2021-04-13 17:40:22 -07:00
catcher-cookies-1213.rs Rename 'rocket::ignite()' to 'rocket::build()'. 2021-04-08 01:07:52 -07:00
conditionally-set-server-header-996.rs Revamp 'Response', 'Body' types. 2021-04-28 02:21:33 -07:00
config-secret-key-1500.rs Remove 'Config::profile()'. CFG 'secret_key' field. 2021-03-09 21:40:53 -08:00
derive-reexports.rs Test 'secret_key' validation, now on pre-launch. 2021-03-09 21:57:26 -08:00
encoded-uris.rs Test 'secret_key' validation, now on pre-launch. 2021-03-09 21:57:26 -08:00
fairing_before_head_strip-issue-546.rs Revamp 'Response', 'Body' types. 2021-04-28 02:21:33 -07:00
flash-lazy-removes-issue-466.rs Rename 'Flash' 'name', 'msg' to 'kind', 'message'. 2021-04-07 23:09:05 -07:00
form-validation-names.rs UTF-8 routes. Forms revamp. Temp files. Capped. 2021-03-04 01:51:21 -08:00
form_method-issue-45.rs Test 'secret_key' validation, now on pre-launch. 2021-03-09 21:57:26 -08:00
form_value_decoding-issue-82.rs Test 'secret_key' validation, now on pre-launch. 2021-03-09 21:57:26 -08:00
form_value_from_encoded_str-issue-1425.rs UTF-8 routes. Forms revamp. Temp files. Capped. 2021-03-04 01:51:21 -08:00
head_handling.rs Revamp 'Response', 'Body' types. 2021-04-28 02:21:33 -07:00
launch-inspect.rs Introduce statically-enforced 'Rocket' phasing. 2021-04-13 19:26:45 -07:00
limits.rs Introduce statically-enforced 'Rocket' phasing. 2021-04-13 19:26:45 -07:00
local-client-access-runtime-in-drop.rs Rename 'rocket::ignite()' to 'rocket::build()'. 2021-04-08 01:07:52 -07:00
local-request-content-type-issue-505.rs Introduce statically-enforced 'Rocket' phasing. 2021-04-13 19:26:45 -07:00
local_request_private_cookie-issue-368.rs Rename 'rocket::ignite()' to 'rocket::build()'. 2021-04-08 01:07:52 -07:00
many-cookie-jars-at-once.rs Introduce statically-enforced 'Rocket' phasing. 2021-04-13 19:26:45 -07:00
mapped-base-issue-1262.rs Introduce statically-enforced 'Rocket' phasing. 2021-04-13 19:26:45 -07:00
mount_point.rs Rename 'rocket::ignite()' to 'rocket::build()'. 2021-04-08 01:07:52 -07:00
nested-fairing-attaches.rs Introduce statically-enforced 'Rocket' phasing. 2021-04-13 19:26:45 -07:00
on_launch_fairing_can_inspect_port.rs Introduce statically-enforced 'Rocket' phasing. 2021-04-13 19:26:45 -07:00
panic-handling.rs Introduce statically-enforced 'Rocket' phasing. 2021-04-13 19:26:45 -07:00
precise-content-type-matching.rs Introduce statically-enforced 'Rocket' phasing. 2021-04-13 19:26:45 -07:00
redirect_from_catcher-issue-113.rs Rename 'rocket::ignite()' to 'rocket::build()'. 2021-04-08 01:07:52 -07:00
replace-content-type-518.rs Introduce statically-enforced 'Rocket' phasing. 2021-04-13 19:26:45 -07:00
responder_lifetime-issue-345.rs Remove use of stable 'proc_macro_hygiene' feature. 2020-07-11 10:48:08 -07:00
route_guard.rs Rename 'rocket::ignite()' to 'rocket::build()'. 2021-04-08 01:07:52 -07:00
scoped-uri.rs Introduce statically-enforced 'Rocket' phasing. 2021-04-13 19:26:45 -07:00
segments-issues-41-86.rs Rename 'rocket::ignite()' to 'rocket::build()'. 2021-04-08 01:07:52 -07:00
sentinel.rs Introduce sentinels: auto-discovered launch abort. 2021-04-16 01:44:53 -07:00
session-cookies-issue-1506.rs Rename 'rocket::ignite()' to 'rocket::build()'. 2021-04-08 01:07:52 -07:00
strict_and_lenient_forms.rs Test 'secret_key' validation, now on pre-launch. 2021-03-09 21:57:26 -08:00
timer-on-attach.rs Introduce statically-enforced 'Rocket' phasing. 2021-04-13 19:26:45 -07:00
tls-config-from-source-1503.rs Add regression test for #1503. 2021-01-14 15:15:57 -08:00
twice_managed_state.rs Rename 'rocket::ignite()' to 'rocket::build()'. 2021-04-08 01:07:52 -07:00
typed-uri-docs-redef-issue-1373.rs Generate 'uri!' macro names independently of span. 2020-07-14 00:44:59 -07:00
unsound-local-request-1312.rs Test 'secret_key' validation, now on pre-launch. 2021-03-09 21:57:26 -08:00
untracked-vs-tracked.rs Introduce statically-enforced 'Rocket' phasing. 2021-04-13 19:26:45 -07:00
uri-percent-encoding-issue-808.rs Introduce statically-enforced 'Rocket' phasing. 2021-04-13 19:26:45 -07:00