Function tower_http::cors::preflight_request_headers

source ·
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