rama::http::layer::cors

Function preflight_request_headers

pub fn preflight_request_headers() -> impl Iterator<Item = HeaderName>
Expand description

Returns an iterator over the three request headers that may be involved in a CORS preflight request.

This is the default set of header names returned in the vary header