pub fn normalize_origin_with_additional_schemes(
origin: &str,
allow_wildcard: bool,
additional_schemes: &[&str],
) -> Result<String>Expand description
Normalizes an origin while accepting explicitly selected non-HTTP schemes.
Additional schemes only affect syntax validation. Callers must still apply their own exact origin allowlist; accepting a scheme here does not authorize every origin using that scheme.