fn check_shape(
shape: &Shape,
headers: &HeaderMap,
kind: Kind,
) -> Result<(), Reason>Expand description
Host is exactly an allowed one, Origin (where sent) is exactly an allowed origin, and
Sec-Fetch-Site suits the kind. A missing or unreadable header counts as wrong.