pub fn is_preflight(method: &Method, headers: &HeaderMap) -> boolExpand description
Is this request a CORS preflight (the only request shape the gateway
answers without proxying)? Requires OPTIONS, an Origin, and the
Access-Control-Request-Method marker the Fetch spec defines for
preflights; anything less is a normal request.