1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-06-27 07:19:04 +02:00

RC refinements (#2625)

This commit is contained in:
Rob Ede
2022-02-04 20:37:33 +00:00
committed by GitHub
parent b0a363a7ae
commit 1d1a65282f
7 changed files with 41 additions and 9 deletions

View File

@ -1,6 +1,11 @@
# Changes
## Unreleased - 2021-xx-xx
### Added
- Implement `Responder` for `Vec<u8>`. [#2625]
- Re-export `KeepAlive` in `http` mod. [#2625]
[#2625]: https://github.com/actix/actix-web/pull/2625
## 4.0.0-rc.2 - 2022-02-02

View File

@ -3,4 +3,4 @@
pub mod header;
// TODO: figure out how best to expose http::Error vs actix_http::Error
pub use actix_http::{uri, ConnectionType, Error, Method, StatusCode, Uri, Version};
pub use actix_http::{uri, ConnectionType, Error, KeepAlive, Method, StatusCode, Uri, Version};

View File

@ -132,6 +132,7 @@ macro_rules! impl_responder_by_forward_into_base_response {
}
impl_responder_by_forward_into_base_response!(&'static [u8]);
impl_responder_by_forward_into_base_response!(Vec<u8>);
impl_responder_by_forward_into_base_response!(Bytes);
impl_responder_by_forward_into_base_response!(BytesMut);