pub(crate) fn accepts_encoding(ctx: &Context, token: &str) -> boolExpand description
Whether the request’s Accept-Encoding allows token (e.g. "gzip",
"br"): the token (or *) must be listed with a non-zero q value.
A missing header means the client did not opt in — no compression.