pub fn header_eq(
    headers: &HeaderMap<HeaderValue>,
    name: impl AsHeaderName,
    value: &str
) -> bool
Expand description

Checks the equality of value of name in headers and value. Value does not need to be all lowercase; the equality operation ignores the cases.