17 references to Options
Aspire.Dashboard.Tests (5)
Integration\OtlpCorsHttpServiceTests.cs (5)
30var preflightRequest = new HttpRequestMessage(HttpMethod.Options, "/v1/logs"); 55var preflightRequest1 = new HttpRequestMessage(HttpMethod.Options, "/v1/logs"); 69var preflightRequest2 = new HttpRequestMessage(HttpMethod.Options, "/v1/logs"); 95var preflightRequest = new HttpRequestMessage(HttpMethod.Options, "/v1/logs"); 123var preflightRequest = new HttpRequestMessage(HttpMethod.Options, "/v1/logs");
CodeGenerator (1)
src\Shared\runtime\Http3\QPack\H3StaticTable.Http3.cs (1)
17[HttpMethod.Options] = 19,
Microsoft.AspNetCore.Mvc.FunctionalTests (2)
RazorPagesTest.cs (2)
1455var request = new HttpRequestMessage(HttpMethod.Options, "http://localhost/HelloWorld"); 1487var request = new HttpRequestMessage(HttpMethod.Options, "http://localhost/HelloWorldWithOptionsHandler");
Microsoft.AspNetCore.Server.IISIntegration.Tests (1)
IISMiddlewareTests.cs (1)
155HttpMethod.Options
Microsoft.AspNetCore.Server.Kestrel.Core (1)
src\Shared\runtime\Http3\QPack\H3StaticTable.Http3.cs (1)
17[HttpMethod.Options] = 19,
Microsoft.AspNetCore.Shared.Tests (1)
src\Shared\runtime\Http3\QPack\H3StaticTable.Http3.cs (1)
17[HttpMethod.Options] = 19,
Microsoft.AspNetCore.SignalR.Client.Tests (1)
TestHttpMessageHandler.cs (1)
156public void OnOptions(string pathAndQuery, Func<HttpRequestMessage, CancellationToken, Task<HttpResponseMessage>> handler) => OnRequest(HttpMethod.Options, pathAndQuery, handler);
Microsoft.AspNetCore.StaticAssets.Tests (1)
StaticAssetsIntegrationTests.cs (1)
1029new [] { HttpMethod.Options },
Microsoft.AspNetCore.StaticFiles.Tests (1)
CacheHeaderTests.cs (1)
440new [] { HttpMethod.Options },
Microsoft.DotNet.SwaggerGenerator.CodeGenerator (1)
Modeler\ServiceClientModelFactory.cs (1)
229return HttpMethod.Options;
System.Net.Http (2)
src\libraries\Common\src\System\Net\Http\aspnetcore\Http3\QPack\H3StaticTable.Http3.cs (1)
17[HttpMethod.Options] = 19,
System\Net\Http\HttpMethod.cs (1)
102'o' => Options,