2 references to CreateRejectionEndpoint
Microsoft.AspNetCore.Routing (2)
Matching\HttpMethodMatcherPolicy.cs (2)
152
httpContext.SetEndpoint(
CreateRejectionEndpoint
(methods?.OrderBy(m => m, StringComparer.OrdinalIgnoreCase)));
284
var endpoint =
CreateRejectionEndpoint
(allHttpMethods);