29 references to AccessControlRequestMethod
CodeGenerator (1)
src\Servers\Kestrel\shared\KnownHeaders.cs (1)
125HeaderNames.AccessControlRequestMethod,
Microsoft.AspNetCore.Cors (1)
Infrastructure\CorsConstants.cs (1)
42public static readonly string AccessControlRequestMethod = HeaderNames.AccessControlRequestMethod;
Microsoft.AspNetCore.Http.Features (2)
IHeaderDictionary.Keyed.cs (2)
47StringValues AccessControlRequestMethod { get => this[HeaderNames.AccessControlRequestMethod]; set => this[HeaderNames.AccessControlRequestMethod] = value; }
Microsoft.AspNetCore.OutputCaching (1)
OutputCacheEntryFormatter.cs (1)
409HeaderNames.AccessControlRequestMethod,
Microsoft.AspNetCore.Routing (2)
Matching\HttpMethodMatcherPolicy.cs (2)
120headers.TryGetValue(HeaderNames.AccessControlRequestMethod, out var accessControlRequestMethod) && 426headers.TryGetValue(HeaderNames.AccessControlRequestMethod, out accessControlRequestMethod) &&
Microsoft.AspNetCore.Routing.FunctionalTests (1)
EndpointRoutingIntegrationTest.cs (1)
309request.AddHeader(HeaderNames.AccessControlRequestMethod, HttpMethods.Put);
Microsoft.AspNetCore.Routing.Tests (1)
Matching\HttpMethodMatcherPolicyIntegrationTestBase.cs (1)
375httpContext.Request.Headers[HeaderNames.AccessControlRequestMethod] = httpMethod;
Microsoft.AspNetCore.Server.Kestrel.Core (19)
Internal\Http\HttpHeaders.Generated.cs (19)
296HeaderNames.AccessControlRequestMethod, 3550if (ReferenceEquals(HeaderNames.AccessControlRequestMethod, key)) 3560if (HeaderNames.AccessControlRequestMethod.Equals(key, StringComparison.OrdinalIgnoreCase)) 4269if (ReferenceEquals(HeaderNames.AccessControlRequestMethod, key)) 4276if (HeaderNames.AccessControlRequestMethod.Equals(key, StringComparison.OrdinalIgnoreCase)) 5360if (ReferenceEquals(HeaderNames.AccessControlRequestMethod, key)) 5371if (HeaderNames.AccessControlRequestMethod.Equals(key, StringComparison.OrdinalIgnoreCase)) 6467if (ReferenceEquals(HeaderNames.AccessControlRequestMethod, key)) 6478if (HeaderNames.AccessControlRequestMethod.Equals(key, StringComparison.OrdinalIgnoreCase)) 7145array[arrayIndex] = new KeyValuePair<string, StringValues>(HeaderNames.AccessControlRequestMethod, _headers._AccessControlRequestMethod); 7864nameStr = HeaderNames.AccessControlRequestMethod; 8267nameStr = HeaderNames.AccessControlRequestMethod; 8469_current = new KeyValuePair<string, StringValues>(HeaderNames.AccessControlRequestMethod, _collection._headers._AccessControlRequestMethod); 10016if (!TryGetUnknown(HeaderNames.AccessControlRequestMethod, ref value)) 10025ValidateHeaderValueCharacters(HeaderNames.AccessControlRequestMethod, value, EncodingSelector); 10026SetValueUnknown(HeaderNames.AccessControlRequestMethod, value); 15839if (!TryGetUnknown(HeaderNames.AccessControlRequestMethod, ref value)) 15848ValidateHeaderValueCharacters(HeaderNames.AccessControlRequestMethod, value, EncodingSelector); 15849SetValueUnknown(HeaderNames.AccessControlRequestMethod, value);
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (1)
src\Servers\Kestrel\shared\KnownHeaders.cs (1)
125HeaderNames.AccessControlRequestMethod,