Skip to main content

plan_expected_headers

Function plan_expected_headers 

Source
pub fn plan_expected_headers(
    headers: &BTreeMap<String, String>,
    cors_applied: bool,
) -> Vec<ExpectedHeader>
Expand description

Plan the header expectations for a fixture, dropping the ones this backend cannot own.

Names are lowercased so the comparison against the response is case-insensitive, matching the sibling backends.