13 references to Options
InMemory.FunctionalTests (3)
RequestTargetProcessingTests.cs (1)
93[InlineData(HttpMethod.Options, "*")]
ResponseTests.cs (1)
616HttpMethod.Options,
src\Servers\Kestrel\shared\test\HttpParsingData.cs (1)
363data.Add($"{method} * HTTP/1.1\r\n", (int)HttpMethod.Options);
Microsoft.AspNetCore.Server.Kestrel.Core (7)
Internal\Http\Http1Connection.cs (1)
509if (method != HttpMethod.Options)
Internal\Http2\Http2Stream.cs (1)
324if (Method == HttpMethod.Options && path.Length == 1 && path[0] == '*')
Internal\Http3\Http3Stream.cs (1)
1045if (Method == HttpMethod.Options && path.Length == 1 && path[0] == '*')
Internal\Infrastructure\HttpUtilities.cs (1)
344HttpMethod.Options,
Internal\Infrastructure\HttpUtilities.Generated.cs (2)
49SetKnownMethod(_mask8Chars, _httpOptionsMethodLong, HttpMethod.Options, 7); 55_methodNames[(byte)HttpMethod.Options] = HttpMethods.Options;
KestrelBadHttpRequestException.cs (1)
74ex = new BadHttpRequestException(CoreStrings.BadRequest_MethodNotAllowed, StatusCodes.Status405MethodNotAllowed, reason, HttpMethod.Options);
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (3)
HttpUtilitiesTest.cs (1)
23[InlineData("OPTIONS / HTTP/1.1", true, "OPTIONS", (int)HttpMethod.Options)]
KnownStringsTests.cs (1)
56CreateTestDataEntry(_methodOptions, (int)HttpMethod.Options, 7, true),
src\Servers\Kestrel\shared\test\HttpParsingData.cs (1)
363data.Add($"{method} * HTTP/1.1\r\n", (int)HttpMethod.Options);