2 references to IsCorsPreflightRequest
Microsoft.AspNetCore.Routing (2)
Matching\HttpMethodDictionaryPolicyJumpTable.cs (1)
24if (_corsHttpMethodDestinations != null && HttpMethodMatcherPolicy.IsCorsPreflightRequest(httpContext, httpMethod, out var accessControlRequestMethod))
Matching\HttpMethodSingleEntryPolicyJumpTable.cs (1)
37if (_supportsCorsPreflight && HttpMethodMatcherPolicy.IsCorsPreflightRequest(httpContext, httpMethod, out var accessControlRequestMethod))