mirror of https://github.com/rwf2/Rocket.git
560f0977d3
* body_string_wait and body_bytes_wait are removed; use `.await` instead * `dispatch()` is now an async fn and must be .await-ed * Add `#[rocket::async_test]` macro, similar in purpose to `tokio::test` * Tests now use either `rocket::async_test(async { })` or `#[rocket::async_test]` in order to `.await` the futures returned from `dispatch()` and `body_{string,bytes}()` * Update 'test.sh' to reflect the tests that should be passing. Broken: * Cloned dispatch and mut_dispatch() with a live previous response now both fail, due to a (partial) check for mutable aliasing in LocalRequest. * Some tests are still failing and need example-specific changes. |
||
---|---|---|
.. | ||
absolute-uris-okay-issue-443.rs | ||
catcher-cookies-1213.rs | ||
conditionally-set-server-header-996.rs | ||
derive-reexports.rs | ||
fairing_before_head_strip-issue-546.rs | ||
flash-lazy-removes-issue-466.rs | ||
form_method-issue-45.rs | ||
form_value_decoding-issue-82.rs | ||
head_handling.rs | ||
limits.rs | ||
local-request-content-type-issue-505.rs | ||
local_request_private_cookie-issue-368.rs | ||
mount_point.rs | ||
nested-fairing-attaches.rs | ||
precise-content-type-matching.rs | ||
redirect_from_catcher-issue-113.rs | ||
responder_lifetime-issue-345.rs | ||
route_guard.rs | ||
segments-issues-41-86.rs | ||
strict_and_lenient_forms.rs | ||
unsound-local-request-1312.rs | ||
uri-percent-encoding-issue-808.rs |