10 references to AccessControlAllowMethods
Microsoft.AspNetCore.Cors (1)
Infrastructure\CorsService.cs (1)
185
headers.SetCommaSeparatedValues(CorsConstants.
AccessControlAllowMethods
, result.AllowedMethods.ToArray());
Microsoft.AspNetCore.Cors.Test (3)
CorsMiddlewareTests.cs (3)
209
Assert.Equal(CorsConstants.
AccessControlAllowMethods
, kvp.Key);
280
Assert.Equal(CorsConstants.
AccessControlAllowMethods
, kvp.Key);
496
Assert.Equal(CorsConstants.
AccessControlAllowMethods
, kvp.Key);
Microsoft.AspNetCore.Mvc.Cors.Test (2)
CorsAuthorizationFilterTest.cs (2)
46
Assert.Equal("PUT", response.Headers[CorsConstants.
AccessControlAllowMethods
]);
205
headers.Add(CorsConstants.
AccessControlAllowMethods
, result1.AllowedMethods.ToArray());
Microsoft.AspNetCore.Mvc.FunctionalTests (4)
CorsTestsBase.cs (4)
136
Assert.Equal(CorsConstants.
AccessControlAllowMethods
, h.Key);
212
responseHeaders.GetValues(CorsConstants.
AccessControlAllowMethods
).ToArray());
319
responseHeaders.GetValues(CorsConstants.
AccessControlAllowMethods
).ToArray());
354
responseHeaders.GetValues(CorsConstants.
AccessControlAllowMethods
).ToArray());