70 references to HttpMethod
Aspire.Dashboard.Tests (1)
AuthSamples.FunctionalTests (1)
dotnet-svcutil-lib (2)
IIS.FunctionalTests (1)
IISExpress.FunctionalTests (1)
Microsoft.AspNetCore.Identity.FunctionalTests (1)
Microsoft.AspNetCore.Mvc.FunctionalTests (45)
CorsTestsBase.cs (12)
44var request = new HttpRequestMessage(new HttpMethod(method), "http://localhost/Cors/GetBlogComments");
64var request = new HttpRequestMessage(new HttpMethod("OPTIONS"), "http://localhost/NonCors/GetOptions");
80var request = new HttpRequestMessage(new HttpMethod("OPTIONS"), "http://localhost/NonCors/GetOptions");
98var request = new HttpRequestMessage(new HttpMethod("OPTIONS"), "http://localhost/NonCors/Post");
118new HttpMethod(CorsConstants.PreflightHttpMethod),
187new HttpMethod(CorsConstants.PreflightHttpMethod),
247var request = new HttpRequestMessage(new HttpMethod(method), "http://localhost/Cors/GetExclusiveContent");
272new HttpMethod(CorsConstants.PreflightHttpMethod),
298var request = new HttpRequestMessage(new HttpMethod(CorsConstants.PreflightHttpMethod), url);
330var request = new HttpRequestMessage(new HttpMethod(CorsConstants.PreflightHttpMethod), url);
368new HttpMethod(CorsConstants.PreflightHttpMethod),
393new HttpMethod(CorsConstants.PreflightHttpMethod),
RoutingTestsBase.cs (16)
401var request = new HttpRequestMessage(new HttpMethod(method), $"http://localhost{url}");
454var request = new HttpRequestMessage(new HttpMethod(method), $"http://localhost{url}");
522var response = await Client.SendAsync(new HttpRequestMessage(new HttpMethod("POST"), url));
538var response = await Client.SendAsync(new HttpRequestMessage(new HttpMethod(method), url));
609var response = await Client.SendAsync(new HttpRequestMessage(new HttpMethod(method), url));
703var message = new HttpRequestMessage(new HttpMethod(method), "http://localhost/Store/Shop/Orders");
728var message = new HttpRequestMessage(new HttpMethod(method), "http://localhost/api/Employee/5/Salary");
771var message = new HttpRequestMessage(new HttpMethod(verb), "http://localhost/api/Employee");
793var message = new HttpRequestMessage(new HttpMethod(verb), "http://localhost/api/Employee/Manager");
818var message = new HttpRequestMessage(new HttpMethod(verb), "http://localhost/" + path);
838var message = new HttpRequestMessage(new HttpMethod("MERGE"), "http://localhost/api/Employee/5");
861var message = new HttpRequestMessage(new HttpMethod(verb), "http://localhost/api/Employee/5/Administrator");
1064var message = new HttpRequestMessage(new HttpMethod(method), "http://localhost/api/Company/5");
1486var request = new HttpRequestMessage(new HttpMethod(verb), "http://localhost" + path);
1521var request = new HttpRequestMessage(new HttpMethod(verb), "http://localhost" + path);
1538var request = new HttpRequestMessage(new HttpMethod(verb), "http://localhost" + path);
Microsoft.AspNetCore.OutputCaching.Tests (1)
Microsoft.AspNetCore.ResponseCaching.Tests (1)
Microsoft.AspNetCore.ResponseCompression.Tests (1)
Microsoft.AspNetCore.Routing.FunctionalTests (1)
Microsoft.AspNetCore.SpaServices.Extensions (1)
Microsoft.AspNetCore.StaticAssets.Tests (1)
Microsoft.AspNetCore.StaticFiles.Tests (1)
Microsoft.AspNetCore.TestHost (1)
Microsoft.DotNet.Helix.Sdk (1)
Microsoft.DotNet.SwaggerGenerator.CodeGenerator (1)
Microsoft.DotNet.VersionTools (4)
Microsoft.Extensions.Http.Diagnostics.Tests (2)
System.Net.Http (2)