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