Skip to main content

detect_decompression

Function detect_decompression 

Source
pub fn detect_decompression(
    headers: &[(String, String)],
    url: &str,
    decompress: bool,
) -> Decompression
Expand description

Public so embedder HttpClient::download impls can apply the right decoder before counting bytes against max_response_size.