mirror of https://github.com/fafhrd91/actix-web
finish
This commit is contained in:
parent
2f1ef29f4f
commit
98191a9aad
|
@ -9,7 +9,7 @@
|
||||||
* `ServiceResponse::map_into_{left,right}_body` and `HttpResponse::map_into_boxed_body`. [#2468]
|
* `ServiceResponse::map_into_{left,right}_body` and `HttpResponse::map_into_boxed_body`. [#2468]
|
||||||
* Connection data set through the `HttpServer::on_connect` callback is now accessible only from the new `HttpRequest::conn_data()` and `ServiceRequest::conn_data()` methods. [#2491]
|
* Connection data set through the `HttpServer::on_connect` callback is now accessible only from the new `HttpRequest::conn_data()` and `ServiceRequest::conn_data()` methods. [#2491]
|
||||||
* `HttpRequest::{req_data,req_data_mut}`. [#2487]
|
* `HttpRequest::{req_data,req_data_mut}`. [#2487]
|
||||||
* `ServiceResponse::into_parts`. [#????]
|
* `ServiceResponse::into_parts`. [#2499]
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
* Rename `Accept::{mime_precedence => ranked}`. [#2480]
|
* Rename `Accept::{mime_precedence => ranked}`. [#2480]
|
||||||
|
@ -38,7 +38,7 @@
|
||||||
[#2491]: https://github.com/actix/actix-web/pull/2491
|
[#2491]: https://github.com/actix/actix-web/pull/2491
|
||||||
[#2492]: https://github.com/actix/actix-web/pull/2492
|
[#2492]: https://github.com/actix/actix-web/pull/2492
|
||||||
[#2493]: https://github.com/actix/actix-web/pull/2493
|
[#2493]: https://github.com/actix/actix-web/pull/2493
|
||||||
[#????]: https://github.com/actix/actix-web/pull/????
|
[#2499]: https://github.com/actix/actix-web/pull/2499
|
||||||
|
|
||||||
|
|
||||||
## 4.0.0-beta.13 - 2021-11-30
|
## 4.0.0-beta.13 - 2021-11-30
|
||||||
|
|
|
@ -410,7 +410,7 @@ impl<B> ServiceResponse<B> {
|
||||||
self.response.headers_mut()
|
self.response.headers_mut()
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Destructure into request and response components
|
/// Destructures `ServiceResponse` into request and response components.
|
||||||
#[inline]
|
#[inline]
|
||||||
pub fn into_parts(self) -> (HttpRequest, HttpResponse<B>) {
|
pub fn into_parts(self) -> (HttpRequest, HttpResponse<B>) {
|
||||||
(self.request, self.response)
|
(self.request, self.response)
|
||||||
|
|
Loading…
Reference in New Issue