Added
- Methods on
AcceptLanguage
:ranked
andpreference
. #2480 AcceptEncoding
typed header. #2482Range
typed header. #2485HttpResponse::map_into_{left,right}_body
andHttpResponse::map_into_boxed_body
. #2468ServiceResponse::map_into_{left,right}_body
andHttpResponse::map_into_boxed_body
. #2468- Connection data set through the
HttpServer::on_connect
callback is now accessible only from the newHttpRequest::conn_data()
andServiceRequest::conn_data()
methods. #2491 HttpRequest::{req_data,req_data_mut}
. #2487ServiceResponse::into_parts
. #2499
Changed
- Rename
Accept::{mime_precedence => ranked}
. #2480 - Rename
Accept::{mime_preference => preference}
. #2480 - Un-deprecate
App::data_factory
. #2484 HttpRequest::url_for
no longer constructs URLs with query or fragment components. #2430- Remove
B
(body) type parameter onApp
. #2493 - Add
B
(body) type parameter onScope
. #2492 - Request-local data container is no longer part of a
RequestHead
. Instead it is a distinct part of aRequest
. #2487
Fixed
- Accept wildcard
*
items inAcceptLanguage
. #2480 - Re-exports
dev::{BodySize, MessageBody, SizedStream}
. They are exposed through thebody
module. #2468 - Typed headers containing lists that require one or more items now enforce this minimum. #2482
Removed
ConnectionInfo::get
. #2487