10 references to AccessControlAllowHeaders
Microsoft.AspNetCore.Cors (1)
Infrastructure\CorsService.cs (1)
180
headers.SetCommaSeparatedValues(CorsConstants.
AccessControlAllowHeaders
, result.AllowedHeaders.ToArray());
Microsoft.AspNetCore.Cors.Test (4)
CorsMiddlewareTests.cs (4)
204
Assert.Equal(CorsConstants.
AccessControlAllowHeaders
, kvp.Key);
275
Assert.Equal(CorsConstants.
AccessControlAllowHeaders
, kvp.Key);
491
Assert.Equal(CorsConstants.
AccessControlAllowHeaders
, kvp.Key);
671
Assert.Equal(CorsConstants.
AccessControlAllowHeaders
, kvp.Key);
Microsoft.AspNetCore.Mvc.Cors.Test (2)
CorsAuthorizationFilterTest.cs (2)
43
Assert.Equal("header1,header2", response.Headers[CorsConstants.
AccessControlAllowHeaders
]);
204
headers.Add(CorsConstants.
AccessControlAllowHeaders
, result1.AllowedHeaders.ToArray());
Microsoft.AspNetCore.Mvc.FunctionalTests (3)
CorsTestsBase.cs (3)
209
responseHeaders.GetValues(CorsConstants.
AccessControlAllowHeaders
).ToArray());
316
responseHeaders.GetValues(CorsConstants.
AccessControlAllowHeaders
).ToArray());
351
responseHeaders.GetValues(CorsConstants.
AccessControlAllowHeaders
).ToArray());