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