pub fn negotiate(request: &Request, preference: &[Encoding]) -> Option<Encoding>Expand description
The coding to use for this request among preference (in that order of
preference on equal weight): the one with the highest q in its
Accept-Encoding, counting * for codings not listed; None without the
header, or when nothing in preference is acceptable or compiled in.