Added
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