public static string GetAccessControlRequestHeaders( this HttpRequestHeaders headers) { return(headers.GetHeaderOrDefault(CorsConstants.AccessControlRequestHeaders)); }
public static string GetOrigin( this HttpRequestHeaders headers) { return(headers.GetHeaderOrDefault(CorsConstants.Origin)); }