pub trait HeaderMapExt {
    fn header_eq(&self, key: &HeaderName, value: &[u8]) -> bool;
fn header_contains_str(&self, key: &HeaderName, value: &str) -> bool; }
Expand description

Helper methods for working with HeaderMap.

Required methods

Check if a header is equal to a bytes array. Ignores casing.

Check if a header contains a string. Ignores casing for the header value.

Implementations on Foreign Types

Implementors