pub fn cors_allow_headers(
request: &Request<Body>,
cors_allow_headers: &AccessControlAllowHeaders,
) -> AllowCors<Vec<HeaderValue>>
Expand description
Returns the CORS AllowHeaders header that should be returned with that request.
pub fn cors_allow_headers(
request: &Request<Body>,
cors_allow_headers: &AccessControlAllowHeaders,
) -> AllowCors<Vec<HeaderValue>>
Returns the CORS AllowHeaders header that should be returned with that request.