detect_encoding

Function detect_encoding 

Source
pub fn detect_encoding(headers: &HeaderMap) -> ContentEncoding
Expand description

Backwards-compatible helper that returns the first encoding in the chain or identity when none.