Module encoding
Available on crate feature
http only.Expand description
Utility types and functions that can be used in context of encoding headers.
Structs§
- Accept
Encoding - TODO: support this as typed header…
Enums§
- Encoding
- This enum’s variants are ordered from least to most preferred.
Traits§
Functions§
- maybe_
preferred_ encoding_ with_ wildcard - Selects the preferred encoding while honoring the
*wildcard per RFC 9110 §12.5.3. - parse_
accept_ encoding_ headers - based on https://github.com/http-rs/accept-encoding
- parse_
accept_ encoding_ wildcard_ quality - Extracts the quality value of the
*wildcard fromAccept-Encodingheaders.