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