pub fn build_cors_allowed_origin<'a, I>(allowed: I) -> AllowOriginwhere I: IntoIterator<Item = &'a HeaderValue>,
Construct a CORS policy to allow origins to query us via HTTP. If any bare ‘’ is passed, this allows any origin; otherwise, allows a list of origins, which can include wildcard subdomains. If the allowed origin starts with a ‘’, allow anything from that glob. Otherwise check for an exact match.