11 references to AccessControlRequestHeaders
Microsoft.AspNetCore.Cors (1)
Infrastructure\CorsService.cs (1)
124headers.GetCommaSeparatedValues(CorsConstants.AccessControlRequestHeaders) :
Microsoft.AspNetCore.Cors.Test (2)
CorsMiddlewareTests.cs (1)
261.AddHeader(CorsConstants.AccessControlRequestHeaders, "X-Test1,X-Test2")
CorsServiceTests.cs (1)
968context.Request.Headers.Add(CorsConstants.AccessControlRequestHeaders, accessControlRequestHeaders);
Microsoft.AspNetCore.Mvc.Cors.Test (1)
CorsAuthorizationFilterTest.cs (1)
138httpContext.Request.Headers.Add(CorsConstants.AccessControlRequestHeaders, headers.Headers.Split(','));
Microsoft.AspNetCore.Mvc.FunctionalTests (7)
CorsTestsBase.cs (7)
124request.Headers.Add(CorsConstants.AccessControlRequestHeaders, "Custom"); 193request.Headers.Add(CorsConstants.AccessControlRequestHeaders, "header1,header2"); 278request.Headers.Add(CorsConstants.AccessControlRequestHeaders, "Custom"); 303request.Headers.Add(CorsConstants.AccessControlRequestHeaders, "Custom"); 335request.Headers.Add(CorsConstants.AccessControlRequestHeaders, "Custom"); 374request.Headers.Add(CorsConstants.AccessControlRequestHeaders, "Custom"); 397request.Headers.Add(CorsConstants.AccessControlRequestHeaders, "Custom");