7 references to Options
Microsoft.AspNetCore.Server.Kestrel.Core (7)
Internal\Http\Http1Connection.cs (1)
612
if (method != HttpMethod.
Options
)
Internal\Http2\Http2Stream.cs (1)
323
if (Method == HttpMethod.
Options
&& path.Length == 1 && path[0] == '*')
Internal\Http3\Http3Stream.cs (1)
1101
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)
79
ex = new BadHttpRequestException(CoreStrings.BadRequest_MethodNotAllowed, StatusCodes.Status405MethodNotAllowed, reason, HttpMethod.
Options
);