actix-web v4.0.0-beta.19 Release Notes
Release Date: 2022-01-04 // over 2 years ago-
โ Added
impl Hash
forhttp::header::Encoding
. [#2501]AcceptEncoding::negotiate()
. [#2501]
๐ Changed
AcceptEncoding::preference
now returnsOption<Preference<Encoding>>
. [#2501]- Rename methods
BodyEncoding::{encoding => encode_with, get_encoding => preferred_encoding}
. [#2501] http::header::Encoding
now only representsContent-Encoding
types. [#2501]
๐ Fixed
- Auto-negotiation of content encoding is more fault-tolerant when using the
Compress
middleware. [#2501]
โ Removed
Compress::new
; restricting compression algorithm is done through feature flags. [#2501]- ๐ฆ
BodyEncoding
trait; signalling content encoding is now only done via theContent-Encoding
header. [#2565]
๐ [#2501]: https://github.com/actix/actix-web/pull/2501 ๐ [#2565]: https://github.com/actix/actix-web/pull/2565