pub fn get_prefered_encoding(
    headers: &HeaderMap<HeaderValue>
) -> Option<ContentCoding>
Available on crate feature compression only.
Expand description

Try to get the prefered content-encoding via the accept-encoding header.