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