mirror of https://github.com/rwf2/Rocket.git
03127f4dae
This commit adds the 'local::blocking' module and moves the existing asynchronous testing to 'local::asynchronous'. It also includes several changes to improve the local API, bringing it to parity (and beyond) with master. These changes are: * 'LocalRequest' implements 'Clone'. * 'LocalResponse' doesn't implement 'DerefMut<Target=Response>'. Instead, direct methods on the type, such as 'into_string()', can be used to read the 'Response'. * 'Response::body()' returns an '&ResponseBody' as opposed to '&mut ResponseBody', which is returned by a new 'Response::body_mut()'. * '&ResponseBody' implements 'known_size()` to retrieve a body's size, if it is known. Co-authored-by: Jeb Rosen <jeb@jebrosen.com> |
||
---|---|---|
.. | ||
absolute-uris-okay-issue-443.rs | ||
attach-inspect.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 | ||
twice_managed_state.rs | ||
unsound-local-request-1312.rs | ||
uri-percent-encoding-issue-808.rs |