pub fn cors_header(
request: &Request,
cors_domains: &Option<Vec<AccessControlAllowOrigin>>,
) -> CorsHeader<AccessControlAllowOrigin>Expand description
Returns a CORS header that should be returned with that request.
pub fn cors_header(
request: &Request,
cors_domains: &Option<Vec<AccessControlAllowOrigin>>,
) -> CorsHeader<AccessControlAllowOrigin>Returns a CORS header that should be returned with that request.