pub fn detect_decompression(
headers: &[(String, String)],
url: &str,
decompress: bool,
) -> DecompressionExpand description
Public so embedder HttpClient::download impls can apply the right decoder
before counting bytes against max_response_size.