pub fn preflight_request_headers() -> impl Iterator<Item = HeaderName>
Available on crate feature cors only.
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