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