Struct hyper::header::AcceptEncoding
[-] [+]
[src]
pub struct AcceptEncoding(pub Vec<QualityItem<Encoding>>);
Accept-Encoding header, defined in
RFC7231
The Accept-Encoding header field can be used by user agents to
indicate what response content-codings are
acceptable in the response. An identity token is used as a synonym
for "no encoding" in order to communicate when no encoding is
preferred.
ABNF
Accept-Encoding = #( codings [ weight ] )
codings = content-coding / "identity" / "*"
Example values
compress, gzip- ``
*compress;q=0.5, gzip;q=1gzip;q=1.0, identity; q=0.5, *;q=0