pub fn accepts_brotli(headers: &HeaderMap) -> bool
Check if the request accepts brotli encoding.
Parses the Accept-Encoding header respecting quality values. Returns true only if br is present with quality > 0.
Accept-Encoding
true
br