773 references to HttpRequestMessage
Aspire.Dashboard.Tests (12)
Aspire.Hosting.Redis (1)
Diagnostics.FunctionalTests (13)
HttpStress (11)
Program.cs (11)
122using (var req = new HttpRequestMessage(HttpMethod.Get, serverUri + path) { Version = httpVersion })
174using (var req = new HttpRequestMessage(HttpMethod.Get, serverUri) { Version = httpVersion })
203using (var req = new HttpRequestMessage(HttpMethod.Get, serverUri + "/headers") { Version = httpVersion })
215using (var req = new HttpRequestMessage(HttpMethod.Get, serverUri) { Version = httpVersion })
243using (var req = new HttpRequestMessage(HttpMethod.Post, serverUri) { Version = httpVersion, Content = new StringDuplexContent(content) })
257using (var req = new HttpRequestMessage(HttpMethod.Post, serverUri + "/duplex") { Version = httpVersion, Content = new StringDuplexContent(content) })
271using (var req = new HttpRequestMessage(HttpMethod.Post, serverUri + "/duplexSlow") { Version = httpVersion, Content = new ByteAtATimeNoLengthContent(Encoding.ASCII.GetBytes(content)) })
285using (var req = new HttpRequestMessage(HttpMethod.Post, serverUri) { Version = httpVersion, Content = new StringContent(content) })
302using (var req = new HttpRequestMessage(HttpMethod.Post, serverUri) { Version = httpVersion, Content = new StringContent(content) })
325using (var req = new HttpRequestMessage(HttpMethod.Head, serverUri) { Version = httpVersion })
347using (var req = new HttpRequestMessage(HttpMethod.Put, serverUri) { Version = httpVersion, Content = new StringContent(content) })
IIS.FunctionalTests (7)
IISExpress.FunctionalTests (6)
Interop.FunctionalTests (49)
Http3\Http3RequestTests.cs (37)
89var request1 = new HttpRequestMessage(HttpMethod.Get, $"https://127.0.0.1:{host.GetPort()}/");
148var request = new HttpRequestMessage(HttpMethod.Get, $"https://127.0.0.1:{host.GetPort()}/");
250var request = new HttpRequestMessage(HttpMethod.Get, $"https://127.0.0.1:{host.GetPort()}/");
293var request = new HttpRequestMessage(HttpMethod.Post, $"https://127.0.0.1:{host.GetPort()}/");
374var request = new HttpRequestMessage(HttpMethod.Post, $"https://127.0.0.1:{host.GetPort()}/");
417var request = new HttpRequestMessage(HttpMethod.Post, $"https://127.0.0.1:{host.GetPort()}/");
488var request = new HttpRequestMessage(HttpMethod.Post, $"https://127.0.0.1:{host.GetPort()}/");
559var request = new HttpRequestMessage(HttpMethod.Post, $"https://127.0.0.1:{host.GetPort()}/");
619var request = new HttpRequestMessage(HttpMethod.Get, $"https://127.0.0.1:{host.GetPort()}/");
675var request = new HttpRequestMessage(HttpMethod.Get, $"https://127.0.0.1:{host.GetPort()}/");
724var request = new HttpRequestMessage(HttpMethod.Post, $"https://127.0.0.1:{host.GetPort()}/");
815var request = new HttpRequestMessage(HttpMethod.Get, address);
851var request1 = new HttpRequestMessage(HttpMethod.Get, $"https://127.0.0.1:{host.GetPort()}/");
862var request2 = new HttpRequestMessage(HttpMethod.Get, $"https://127.0.0.1:{host.GetPort()}/");
911var request1 = new HttpRequestMessage(HttpMethod.Get, $"https://127.0.0.1:{host.GetPort()}/");
924var request2 = new HttpRequestMessage(HttpMethod.Get, $"https://127.0.0.1:{host.GetPort()}/");
940var request3 = new HttpRequestMessage(HttpMethod.Get, $"https://127.0.0.1:{host.GetPort()}/");
1013var request = new HttpRequestMessage(HttpMethod.Post, $"https://127.0.0.1:{host.GetPort()}/");
1110var request = new HttpRequestMessage(HttpMethod.Post, $"https://127.0.0.1:{host.GetPort()}/");
1257var request = new HttpRequestMessage(HttpMethod.Post, $"https://127.0.0.1:{host.GetPort()}/");
1316var request = new HttpRequestMessage(HttpMethod.Get, $"https://127.0.0.1:{host.GetPort()}/");
1369var request = new HttpRequestMessage(HttpMethod.Post, $"https://127.0.0.1:{host.GetPort()}/");
1422var request1 = new HttpRequestMessage(HttpMethod.Get, $"https://127.0.0.1:{host.GetPort()}/");
1432var request2 = new HttpRequestMessage(HttpMethod.Get, $"https://127.0.0.1:{host.GetPort()}/");
1488var request1 = new HttpRequestMessage(HttpMethod.Get, $"https://127.0.0.1:{host.GetPort()}/");
1499var request2 = new HttpRequestMessage(HttpMethod.Get, $"https://127.0.0.1:{host.GetPort()}/");
1541var request1 = new HttpRequestMessage(HttpMethod.Get, $"https://127.0.0.1:{host.GetPort()}/");
1559var request2 = new HttpRequestMessage(HttpMethod.Get, $"https://127.0.0.1:{host.GetPort()}/");
1603var request1 = new HttpRequestMessage(HttpMethod.Get, $"https://127.0.0.1:{port}/");
1663var request1 = new HttpRequestMessage(HttpMethod.Get, $"https://127.0.0.1:{port}/");
1719var request1 = new HttpRequestMessage(HttpMethod.Get, $"https://127.0.0.1:{port}/");
1839var request = new HttpRequestMessage(method, url);
1885var request1 = new HttpRequestMessage(HttpMethod.Get, $"https://127.0.0.1:{port}/");
1962var request1 = new HttpRequestMessage(HttpMethod.Get, $"https://127.0.0.1:{port}/");
2038var request = new HttpRequestMessage(HttpMethod.Post, $"https://127.0.0.1:{host.GetPort()}/");
2138var request = new HttpRequestMessage(HttpMethod.Post, $"https://127.0.0.1:{host.GetPort()}/");
2192var request = new HttpRequestMessage(HttpMethod.Get, $"https://127.0.0.1:{host.GetPort()}/");
Microsoft.AspNetCore.Authentication.Google (1)
Microsoft.AspNetCore.Authentication.MicrosoftAccount (1)
Microsoft.AspNetCore.Authentication.OAuth (1)
Microsoft.AspNetCore.Authentication.OpenIdConnect (3)
Microsoft.AspNetCore.Authentication.Test (15)
Microsoft.AspNetCore.Authentication.Twitter (1)
Microsoft.AspNetCore.CookiePolicy.Test (1)
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (2)
Microsoft.AspNetCore.Diagnostics.Tests (4)
Microsoft.AspNetCore.HttpLogging.Tests (11)
HttpLoggingMiddlewareTests.cs (11)
1731var initialResponse = await client.SendAsync(new HttpRequestMessage(HttpMethod.Get, "/attr_responseonly"));
1746var initialResponse = await client.SendAsync(new HttpRequestMessage(HttpMethod.Get, "/attr_responseandrequest"));
1761var initialResponse = await client.SendAsync(new HttpRequestMessage(HttpMethod.Get, "/attr_restrictedheaders"));
1776var request = new HttpRequestMessage(HttpMethod.Get, "/attr_restrictedsize") { Content = new ReadOnlyMemoryContent("from request"u8.ToArray()) };
1802var request = new HttpRequestMessage(HttpMethod.Get, "/attr_responseandrequest");
1821var initialResponse = await client.SendAsync(new HttpRequestMessage(HttpMethod.Get, "/ext_responseonly"));
1836var initialResponse = await client.SendAsync(new HttpRequestMessage(HttpMethod.Get, "/ext_responseandrequest"));
1851var initialResponse = await client.SendAsync(new HttpRequestMessage(HttpMethod.Get, "/ext_restrictedheaders"));
1866var request = new HttpRequestMessage(HttpMethod.Get, "/ext_restrictedsize") { Content = new ReadOnlyMemoryContent("from request"u8.ToArray()) };
1892var request = new HttpRequestMessage(HttpMethod.Get, "/ext_responseandrequest");
1938var request = new HttpRequestMessage(HttpMethod.Get, "/");
Microsoft.AspNetCore.HttpOverrides.Tests (6)
Microsoft.AspNetCore.HttpsPolicy.Tests (19)
Microsoft.AspNetCore.Identity.InMemory.Test (1)
Microsoft.AspNetCore.Localization.FunctionalTests (1)
Microsoft.AspNetCore.Mvc.FunctionalTests (343)
AuthMiddlewareAndFilterTestBase.cs (20)
56var request = new HttpRequestMessage(HttpMethod.Get, action);
74var request = new HttpRequestMessage(HttpMethod.Get, action);
81request = new HttpRequestMessage(HttpMethod.Get, action);
120var request = new HttpRequestMessage(HttpMethod.Get, "PagesHome");
130var request = new HttpRequestMessage(HttpMethod.Get, "/Authorized/Api");
136request = new HttpRequestMessage(HttpMethod.Get, "/Authorized/Api");
145var request = new HttpRequestMessage(HttpMethod.Get, "/Authorized/AllowAnonymous");
149request = new HttpRequestMessage(HttpMethod.Get, "/Authorized/Api");
155request = new HttpRequestMessage(HttpMethod.Get, "/Authorized/Api");
164var request = new HttpRequestMessage(HttpMethod.Get, "/Authorized/Cookie");
170request = new HttpRequestMessage(HttpMethod.Get, "/Authorized/Cookie");
179var request = new HttpRequestMessage(HttpMethod.Get, "/Authorized/AllowAnonymous");
183request = new HttpRequestMessage(HttpMethod.Get, "/Authorized/Cookie");
189request = new HttpRequestMessage(HttpMethod.Get, "/Authorized/Cookie");
198var request = new HttpRequestMessage(HttpMethod.Get, "/Authorized/Cookie");
204request = new HttpRequestMessage(HttpMethod.Get, "/Authorized/Cookie");
209request = new HttpRequestMessage(HttpMethod.Get, "/Authorized/Api");
216request = new HttpRequestMessage(HttpMethod.Get, "/Authorized/Api");
251var request = new HttpRequestMessage(HttpMethod.Get, url);
258request = new HttpRequestMessage(HttpMethod.Get, url);
ContentNegotiationTest.cs (12)
109var request = new HttpRequestMessage(HttpMethod.Get, "http://localhost/ContentNegotiation/UserInfo_ProducesWithTypeOnly");
126var request = new HttpRequestMessage(
151var request = new HttpRequestMessage(
346var request = new HttpRequestMessage(HttpMethod.Get, "http://localhost/ContentNegotiation/UserInfo");
367var request = new HttpRequestMessage(HttpMethod.Get, "FallbackOnTypeBasedMatch/ReturnString");
385var request = new HttpRequestMessage(HttpMethod.Get, targetUri);
404var request = new HttpRequestMessage(HttpMethod.Post, targetUri);
420var request = new HttpRequestMessage(HttpMethod.Get, targetUri);
435var request = new HttpRequestMessage(HttpMethod.Get, targetUri);
450var request = new HttpRequestMessage(HttpMethod.Get, targetUri);
489var request = new HttpRequestMessage(HttpMethod.Get, "http://localhost/ProducesWithMediaTypeSuffixesController/ContactInfo");
507var request = new HttpRequestMessage(HttpMethod.Get, "http://localhost/ProducesWithMediaTypeSuffixesController/ContactInfo");
FileResultTests.cs (31)
59var httpRequestMessage = new HttpRequestMessage(HttpMethod.Get, "http://localhost/DownloadFiles/DownloadFromDisk");
81var httpRequestMessage = new HttpRequestMessage(HttpMethod.Get, "http://localhost/DownloadFiles/DownloadFromDisk");
101var httpRequestMessage = new HttpRequestMessage(HttpMethod.Get, "http://localhost/DownloadFiles/DownloadFromDisk");
123var httpRequestMessage = new HttpRequestMessage(HttpMethod.Get, "http://localhost/DownloadFiles/DownloadFromDisk_WithLastModifiedAndEtag");
145var httpRequestMessage = new HttpRequestMessage(HttpMethod.Get, "http://localhost/DownloadFiles/DownloadFromDiskWithFileName_WithLastModifiedAndEtag");
165var httpRequestMessage = new HttpRequestMessage(HttpMethod.Get, "http://localhost/DownloadFiles/DownloadFromDiskWithFileName_WithLastModifiedAndEtag");
209var httpRequestMessage = new HttpRequestMessage(new HttpMethod(httpMethod), "http://localhost/DownloadFiles/DownloadFromDiskWithFileName");
227var httpRequestMessage = new HttpRequestMessage(HttpMethod.Get, "http://localhost/DownloadFiles/DownloadFromDiskWithFileName_WithLastModifiedAndEtag");
247var httpRequestMessage = new HttpRequestMessage(HttpMethod.Get, "http://localhost/DownloadFiles/DownloadFromDiskWithFileName_WithLastModifiedAndEtag");
279var httpRequestMessage = new HttpRequestMessage(HttpMethod.Head, "http://localhost/DownloadFiles/DownloadFromDiskWithFileName_WithLastModifiedAndEtag");
346var httpRequestMessage = new HttpRequestMessage(HttpMethod.Get, "http://localhost/DownloadFiles/DownloadFromStream");
368var httpRequestMessage = new HttpRequestMessage(HttpMethod.Get, "http://localhost/DownloadFiles/DownloadFromStream");
388var httpRequestMessage = new HttpRequestMessage(HttpMethod.Get, "http://localhost/DownloadFiles/DownloadFromStream");
430var httpRequestMessage = new HttpRequestMessage(new HttpMethod(httpMethod), "http://localhost/DownloadFiles/DownloadFromStreamWithFileName");
448var httpRequestMessage = new HttpRequestMessage(HttpMethod.Get, "http://localhost/DownloadFiles/DownloadFromStreamWithFileName_WithEtag");
468var httpRequestMessage = new HttpRequestMessage(HttpMethod.Get, "http://localhost/DownloadFiles/DownloadFromStreamWithFileName_WithEtag");
498var httpRequestMessage = new HttpRequestMessage(HttpMethod.Head, "http://localhost/DownloadFiles/DownloadFromStreamWithFileName_WithEtag");
547var httpRequestMessage = new HttpRequestMessage(HttpMethod.Get, "http://localhost/DownloadFiles/DownloadFromBinaryData");
569var httpRequestMessage = new HttpRequestMessage(HttpMethod.Get, "http://localhost/DownloadFiles/DownloadFromBinaryData");
589var httpRequestMessage = new HttpRequestMessage(HttpMethod.Get, "http://localhost/DownloadFiles/DownloadFromBinaryData");
634var httpRequestMessage = new HttpRequestMessage(new HttpMethod(httpMethod), "http://localhost/DownloadFiles/DownloadFromBinaryDataWithFileName");
652var httpRequestMessage = new HttpRequestMessage(HttpMethod.Get, "http://localhost/DownloadFiles/DownloadFromBinaryDataWithFileName_WithEtag");
672var httpRequestMessage = new HttpRequestMessage(HttpMethod.Get, "http://localhost/DownloadFiles/DownloadFromBinaryDataWithFileName_WithEtag");
704var httpRequestMessage = new HttpRequestMessage(HttpMethod.Head, "http://localhost/DownloadFiles/DownloadFromBinaryDataWithFileName_WithEtag");
760var httpRequestMessage = new HttpRequestMessage(HttpMethod.Get, "http://localhost/EmbeddedFiles/DownloadFileWithFileName");
784var httpRequestMessage = new HttpRequestMessage(new HttpMethod(httpMethod), "http://localhost/EmbeddedFiles/DownloadFileWithFileName_RangeProcessingNotEnabled");
802var httpRequestMessage = new HttpRequestMessage(HttpMethod.Get, "http://localhost/EmbeddedFiles/DownloadFileWithFileName_WithEtag");
825var httpRequestMessage = new HttpRequestMessage(HttpMethod.Get, "http://localhost/EmbeddedFiles/DownloadFileWithFileName_WithEtag");
850var httpRequestMessage = new HttpRequestMessage(HttpMethod.Get, "http://localhost/EmbeddedFiles/DownloadFileWithFileName");
873var httpRequestMessage = new HttpRequestMessage(HttpMethod.Get, "http://localhost/EmbeddedFiles/DownloadFileWithFileName");
908var httpRequestMessage = new HttpRequestMessage(HttpMethod.Head, "http://localhost/EmbeddedFiles/DownloadFileWithFileName");
RazorPagesTest.cs (41)
101var postRequest = new HttpRequestMessage(HttpMethod.Post, "http://localhost/HandlerTestPage");
133var postRequest = new HttpRequestMessage(HttpMethod.Post, "http://localhost/HandlerTestPage/CustomActionResult");
214var postRequest = new HttpRequestMessage(HttpMethod.Post, "http://localhost/ModelHandlerTestPage");
246var postRequest = new HttpRequestMessage(HttpMethod.Post, "http://localhost/ModelHandlerTestPage/CustomActionResult");
272var routeRequest = new HttpRequestMessage(HttpMethod.Get, "http://localhost/RouteData/pizza");
285var routeRequest = new HttpRequestMessage(HttpMethod.Get, "http://localhost/RouteData/5");
301var request = new HttpRequestMessage(HttpMethod.Get, "http://localhost/PathSet");
317var request = new HttpRequestMessage(HttpMethod.Get, "http://localhost/TagHelpers");
333var request = new HttpRequestMessage(HttpMethod.Get, "http://localhost/NoPage");
346var request = new HttpRequestMessage(HttpMethod.Get, "http://localhost/Pages/HandlerWithParameter");
362var request = new HttpRequestMessage(HttpMethod.Get, "http://localhost/HelloWorld");
378var request = new HttpRequestMessage(HttpMethod.Get, "http://localhost/HelloWorldWithRoute/Some/Path/route");
394var request = new HttpRequestMessage(HttpMethod.Get, "http://localhost/HelloWorldWithHandler?message=handler");
410var getRequest = new HttpRequestMessage(HttpMethod.Get, "http://localhost/HelloWorldWithPageModelHandler?message=message");
416var postRequest = new HttpRequestMessage(HttpMethod.Post, "http://localhost/HelloWorldWithPageModelHandler");
437var request = new HttpRequestMessage(new HttpMethod(httpMethod), url);
466var request = new HttpRequestMessage(HttpMethod.Get, "http://localhost/PageWithoutContent/No/Content/Path");
482var request = new HttpRequestMessage(HttpMethod.Get, "http://localhost/OnGetView");
499var request = new HttpRequestMessage(HttpMethod.Get, url);
524var request = new HttpRequestMessage(HttpMethod.Get, url);
549var request = new HttpRequestMessage(HttpMethod.Get, url);
573var getRequest = new HttpRequestMessage(HttpMethod.Get, "http://localhost/TempData/TempDataPageModelProperty");
580var request = new HttpRequestMessage(HttpMethod.Post, url);
594request = new HttpRequestMessage(HttpMethod.Get, "http://localhost/TempData/TempDataPageModelProperty");
671var request = new HttpRequestMessage(HttpMethod.Post, "Pages/PropertyBinding/PagePropertyBinding/10")
700var request = new HttpRequestMessage(HttpMethod.Post, "Pages/PropertyBinding/PagePropertyBinding/27")
726var request = new HttpRequestMessage(HttpMethod.Post, "Pages/PropertyBinding/PageModelWithPropertyBinding/10?PropertyWithSupportGetsTrue=foo")
757var request = new HttpRequestMessage(HttpMethod.Post, url)
786var request = new HttpRequestMessage(HttpMethod.Post, "Pages/PropertyBinding/PolymorphicBinding")
811var request = new HttpRequestMessage(HttpMethod.Post, "Pages/PropertyBinding/PolymorphicBinding")
842var request = new HttpRequestMessage(HttpMethod.Post, "Pages/PropertyBinding/PageWithPropertyAndArgumentBinding?id=11")
867var request = new HttpRequestMessage(HttpMethod.Get, "Pages/PropertyBinding/PageWithPropertyAndArgumentBinding?id=11")
890var request = new HttpRequestMessage(HttpMethod.Head, "Pages/PropertyBinding/PageModelWithPropertyBinding/10?PropertyWithSupportGetsTrue=foo");
906var request = new HttpRequestMessage(HttpMethod.Head, "Pages/PropertyBinding/BindPropertyWithGet?value=11");
923var request = new HttpRequestMessage(HttpMethod.Get, "Pages/PropertyBinding/BindPropertyWithGet?value=11");
983var request = new HttpRequestMessage(HttpMethod.Post, "/Pages/Redirects/RedirectToSelf")
1288var request = new HttpRequestMessage(HttpMethod.Post, "/Pages/PropertyBinding/BindPropertiesOnModel?Property1=123")
1326var request = new HttpRequestMessage(HttpMethod.Post, "/Pages/PropertyBinding/BindPropertiesOnModel?Property1=123")
1455var request = new HttpRequestMessage(HttpMethod.Options, "http://localhost/HelloWorld");
1471var request = new HttpRequestMessage(HttpMethod.Get, "http://localhost/HelloWorldWithOptionsHandler");
1487var request = new HttpRequestMessage(HttpMethod.Options, "http://localhost/HelloWorldWithOptionsHandler");
RoutingAcrossPipelineBranchesTest.cs (12)
42var subdirRequest = new HttpRequestMessage(HttpMethod.Get, "subdir/literal/Branches/Index/s");
43var commonRequest = new HttpRequestMessage(HttpMethod.Get, "common/Branches/Index/c/literal");
44var defaultRequest = new HttpRequestMessage(HttpMethod.Get, "Branches/literal/Index/d");
77var subdirRequest = new HttpRequestMessage(HttpMethod.Get, "subdir/literal/Branches/Index/s" + linkQuery);
78var commonRequest = new HttpRequestMessage(HttpMethod.Get, "common/Branches/Index/c/literal" + linkQuery);
79var defaultRequest = new HttpRequestMessage(HttpMethod.Get, "Branches/literal/Index/d" + linkQuery);
111var subdirRequest = new HttpRequestMessage(HttpMethod.Get, "subdir/literal/Branches/Index/s" + linkQuery + "&link_common=c&link_subdir");
112var defaultRequest = new HttpRequestMessage(HttpMethod.Get, "Branches/literal/Index/d" + linkQuery + "&link_subdir=s");
140var commonRequest = new HttpRequestMessage(HttpMethod.Get, "common/literal/Branches/Index/s");
141var subdirRequest = new HttpRequestMessage(HttpMethod.Get, "subdir/Branches/Index/c/literal");
142var defaultRequest = new HttpRequestMessage(HttpMethod.Get, "common/Branches/literal/Index/d");
163var request = new HttpRequestMessage(HttpMethod.Get, "dynamicattributeorder/dynamic/route/rest");
RoutingTestsBase.cs (18)
401var request = new HttpRequestMessage(new HttpMethod(method), $"http://localhost{url}");
454var request = new HttpRequestMessage(new HttpMethod(method), $"http://localhost{url}");
496var response = await Client.SendAsync(new HttpRequestMessage(HttpMethod.Post, 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");
748var message = new HttpRequestMessage(HttpMethod.Get, "http://localhost/Store/Shop/Orders");
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);
VersioningTestsBase.cs (24)
45var message = new HttpRequestMessage(HttpMethod.Get, "http://localhost/api/Addresses?version=" + version);
68var message = new HttpRequestMessage(HttpMethod.Get, "http://localhost/api/Addresses/All" + query);
89var message = new HttpRequestMessage(HttpMethod.Get, "http://localhost/Tickets");
110var message = new HttpRequestMessage(HttpMethod.Get, "http://localhost/Tickets?version=2");
129var message = new HttpRequestMessage(HttpMethod.Get, "http://localhost/Tickets/5");
148var message = new HttpRequestMessage(HttpMethod.Get, "http://localhost/Tickets/5?version=2");
175var message = new HttpRequestMessage(HttpMethod.Post, "http://localhost/Tickets?version=" + version);
199var message = new HttpRequestMessage(HttpMethod.Post, "http://localhost/Tickets");
224var message = new HttpRequestMessage(new HttpMethod(method), "http://localhost/Tickets/5?version=" + version);
250var message = new HttpRequestMessage(new HttpMethod(method), "http://localhost/Tickets/5");
269var message = new HttpRequestMessage(HttpMethod.Get, "http://localhost/Books?version=" + version);
291var message = new HttpRequestMessage(HttpMethod.Get, "http://localhost/Books?version=" + version);
312var message = new HttpRequestMessage(new HttpMethod(method), "http://localhost/Movies");
333var message = new HttpRequestMessage(new HttpMethod(method), "http://localhost/Movies?version=2");
355var message = new HttpRequestMessage(new HttpMethod(method), "http://localhost/Movies/5");
376var message = new HttpRequestMessage(new HttpMethod(method), "http://localhost/Movies/5?version=2");
395var message = new HttpRequestMessage(HttpMethod.Put, "http://localhost/Movies/5?version=2");
417var message = new HttpRequestMessage(HttpMethod.Get, "http://localhost/" + url);
438var message = new HttpRequestMessage(HttpMethod.Get, "http://localhost/" + url);
459var message = new HttpRequestMessage(HttpMethod.Post, "http://localhost/" + url);
483var message = new HttpRequestMessage(HttpMethod.Get, "http://localhost/" + url + query);
502var message = new HttpRequestMessage(HttpMethod.Post, "http://localhost/" + "Customers?version=2");
521var message = new HttpRequestMessage(HttpMethod.Delete, "http://localhost/" + "Customers/5?version=2");
543var message = new HttpRequestMessage(HttpMethod.Get, "http://localhost" + path);
Microsoft.AspNetCore.OutputCaching.Tests (7)
Microsoft.AspNetCore.RequestDecompression.Tests (6)
Microsoft.AspNetCore.ResponseCaching.Tests (5)
Microsoft.AspNetCore.ResponseCompression.Tests (17)
ResponseCompressionMiddlewareTest.cs (17)
177var request = new HttpRequestMessage(HttpMethod.Get, "");
335var request = new HttpRequestMessage(HttpMethod.Get, "");
474var request = new HttpRequestMessage(HttpMethod.Get, "");
537var request = new HttpRequestMessage(HttpMethod.Get, "");
600var request = new HttpRequestMessage(HttpMethod.Get, "");
653var request = new HttpRequestMessage(HttpMethod.Get, "");
698var request = new HttpRequestMessage(HttpMethod.Get, "");
750var request = new HttpRequestMessage(HttpMethod.Get, "");
803var request = new HttpRequestMessage(HttpMethod.Get, "");
873var request = new HttpRequestMessage(HttpMethod.Get, "");
937var request = new HttpRequestMessage(HttpMethod.Get, "");
1001var request = new HttpRequestMessage(HttpMethod.Get, "");
1062var request = new HttpRequestMessage(HttpMethod.Get, "");
1112var request = new HttpRequestMessage(HttpMethod.Get, "");
1162var request = new HttpRequestMessage(HttpMethod.Get, "");
1212var request = new HttpRequestMessage(HttpMethod.Get, "");
1278var request = new HttpRequestMessage(new HttpMethod(httpMethod), "");
Microsoft.AspNetCore.Routing.FunctionalTests (33)
MinimalFormTests.cs (13)
53var request = new HttpRequestMessage(HttpMethod.Post, "todo");
113var request = new HttpRequestMessage(HttpMethod.Post, "todo");
160var request = new HttpRequestMessage(HttpMethod.Post, "todo");
199var request = new HttpRequestMessage(HttpMethod.Post, "todo");
276var request = new HttpRequestMessage(HttpMethod.Post, "todo");
323var request = new HttpRequestMessage(HttpMethod.Post, "todo");
419var request = new HttpRequestMessage(HttpMethod.Post, "todo");
474var request = new HttpRequestMessage(HttpMethod.Post, "todo");
533var request = new HttpRequestMessage(HttpMethod.Post, "todo");
585var request = new HttpRequestMessage(HttpMethod.Post, "/todos/1");
637var request = new HttpRequestMessage(HttpMethod.Post, "/todos/1");
686var request = new HttpRequestMessage(HttpMethod.Post, "todo");
750var response = await client.SendAsync(new HttpRequestMessage(HttpMethod.Post, "/")
WebHostBuilderExtensionsTest.cs (5)
25new HttpRequestMessage(HttpMethod.Get, "greeting/James"),
37new HttpRequestMessage(HttpMethod.Post, "greeting/James") { Content = new StringContent("Biography") },
49new HttpRequestMessage(HttpMethod.Put, "greeting/James") { Content = new StringContent("Biography") },
54new HttpRequestMessage(HttpMethod.Delete, "greeting/James"),
67new HttpRequestMessage(HttpMethod.Post, "greeting/James") { Content = new StringContent("Biography") },
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (6)
Microsoft.AspNetCore.Server.IISIntegration.Tests (10)
IISMiddlewareTests.cs (10)
54var req = new HttpRequestMessage(HttpMethod.Get, "");
92var req = new HttpRequestMessage(HttpMethod.Get, "");
134var request = new HttpRequestMessage(HttpMethod.Post, requestPath);
193var request = new HttpRequestMessage(method, "/iisintegration");
238var request = new HttpRequestMessage(HttpMethod.Post, path);
283var request = new HttpRequestMessage(HttpMethod.Post, "/iisintegration");
383var request = new HttpRequestMessage(HttpMethod.Get, "/PathBase/Path");
424var req = new HttpRequestMessage(HttpMethod.Get, "");
481var req = new HttpRequestMessage(HttpMethod.Get, "");
526var req = new HttpRequestMessage(HttpMethod.Get, "");
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Tests (7)
Microsoft.AspNetCore.StaticAssets.Tests (30)
StaticAssetsIntegrationTests.cs (30)
438var message = new HttpRequestMessage(HttpMethod.Get, "/sample.txt");
651var req = new HttpRequestMessage(method, "http://localhost/sample.txt");
664var req = new HttpRequestMessage(method, "http://localhost/sample.txt");
675var req = new HttpRequestMessage(method, "http://localhost/sample.txt");
686var req = new HttpRequestMessage(method, "http://localhost/sample.txt");
713var req2 = new HttpRequestMessage(method, "http://localhost/sample.txt");
726var req2 = new HttpRequestMessage(method, "http://localhost/sample.txt");
739var req2 = new HttpRequestMessage(method, "http://localhost/sample.txt");
762new HttpRequestMessage(method, "http://localhost/sample.txt"));
783var req1 = new HttpRequestMessage(method, "http://localhost/sample.txt");
786var req2 = new HttpRequestMessage(method, "http://localhost/sample.txt");
799var req1 = new HttpRequestMessage(method, "http://localhost/sample.txt");
803var req2 = new HttpRequestMessage(method, "http://localhost/sample.txt");
810var req3 = new HttpRequestMessage(method, "http://localhost/sample.txt");
822var req1 = new HttpRequestMessage(method, "http://localhost/sample.txt");
829var req2 = new HttpRequestMessage(method, "http://localhost/sample.txt");
834var req3 = new HttpRequestMessage(method, "http://localhost/sample.txt");
839var req4 = new HttpRequestMessage(method, "http://localhost/sample.txt");
867var req = new HttpRequestMessage(method, "http://localhost/sample.txt");
880var req = new HttpRequestMessage(method, "http://localhost/sample.txt");
901new HttpRequestMessage(method, "http://localhost/sample.txt"));
903var req2 = new HttpRequestMessage(method, "http://localhost/sample.txt");
916new HttpRequestMessage(method, "http://localhost/sample.txt"));
927var req2 = new HttpRequestMessage(method, "sample.txt");
942new HttpRequestMessage(method, "http://localhost/sample.txt"));
944var req2 = new HttpRequestMessage(method, "http://localhost/sample.txt");
957var req = new HttpRequestMessage(method, "http://localhost/sample.txt");
969var req = new HttpRequestMessage(method, "http://localhost/sample.txt");
983new HttpRequestMessage(method, "http://localhost/sample.txt"));
985var req2 = new HttpRequestMessage(method, "http://localhost/sample.txt");
Microsoft.AspNetCore.StaticFiles.FunctionalTests (1)
Microsoft.AspNetCore.StaticFiles.Tests (32)
RangeHeaderTests.cs (24)
23var req = new HttpRequestMessage(HttpMethod.Get, "http://localhost/SubFolder/ranges.txt");
44var req = new HttpRequestMessage(HttpMethod.Head, "http://localhost/SubFolder/ranges.txt");
65var req = new HttpRequestMessage(HttpMethod.Get, "http://localhost/SubFolder/ranges.txt");
82var req = new HttpRequestMessage(HttpMethod.Get, "http://localhost/SubFolder/ranges.txt");
99var req = new HttpRequestMessage(HttpMethod.Get, "http://localhost/SubFolder/ranges.txt");
116var req = new HttpRequestMessage(HttpMethod.Head, "http://localhost/SubFolder/ranges.txt");
135var req = new HttpRequestMessage(HttpMethod.Get, "http://localhost/SubFolder/ranges.txt");
152var req = new HttpRequestMessage(HttpMethod.Head, "http://localhost/SubFolder/ranges.txt");
171var req = new HttpRequestMessage(HttpMethod.Get, "http://localhost/SubFolder/ranges.txt");
190var req = new HttpRequestMessage(HttpMethod.Head, "http://localhost/SubFolder/ranges.txt");
210var req = new HttpRequestMessage(HttpMethod.Get, "http://localhost/SubFolder/ranges.txt");
218req = new HttpRequestMessage(HttpMethod.Get, "http://localhost/SubFolder/ranges.txt");
237var req = new HttpRequestMessage(HttpMethod.Head, "http://localhost/SubFolder/ranges.txt");
245req = new HttpRequestMessage(HttpMethod.Head, "http://localhost/SubFolder/ranges.txt");
270var req = new HttpRequestMessage(HttpMethod.Get, "http://localhost/SubFolder/ranges.txt");
291var req = new HttpRequestMessage(HttpMethod.Get, "http://localhost/SubFolder/SingleByte.txt");
312var req = new HttpRequestMessage(HttpMethod.Get, "http://localhost/SubFolder/Empty.txt");
326var req = new HttpRequestMessage(HttpMethod.Head, "http://localhost/SubFolder/ranges.txt");
344var req = new HttpRequestMessage(HttpMethod.Get, "http://localhost/SubFolder/ranges.txt");
359var req = new HttpRequestMessage(HttpMethod.Head, "http://localhost/SubFolder/ranges.txt");
379var req = new HttpRequestMessage(HttpMethod.Get, "http://localhost/SubFolder/ranges.txt");
401var req = new HttpRequestMessage(HttpMethod.Head, "http://localhost/SubFolder/ranges.txt");
422var req = new HttpRequestMessage(HttpMethod.Get, "http://localhost/SubFolder/ranges.txt");
442var req = new HttpRequestMessage(HttpMethod.Head, "http://localhost/SubFolder/ranges.txt");
Microsoft.AspNetCore.TestHost (1)
Microsoft.AspNetCore.TestHost.Tests (17)
TestClientTests.cs (11)
196var httpRequest = new HttpRequestMessage(HttpMethod.Post, "http://localhost:12345");
253var message = new HttpRequestMessage(HttpMethod.Post, "https://example.com/");
304var httpRequest = new HttpRequestMessage(HttpMethod.Post, "http://localhost:12345");
361var httpRequest = new HttpRequestMessage(HttpMethod.Post, "http://localhost:12345");
423var httpRequest = new HttpRequestMessage(HttpMethod.Post, "http://localhost:12345");
470var httpRequest = new HttpRequestMessage(HttpMethod.Post, "http://localhost:12345");
521var httpRequest = new HttpRequestMessage(HttpMethod.Post, "http://localhost:12345");
850var request = new HttpRequestMessage(HttpMethod.Get, "http://localhost:12345");
952var request = new HttpRequestMessage(HttpMethod.Get, "http://localhost:12345");
978var request = new HttpRequestMessage(HttpMethod.Get, "http://localhost:12345");
1005var request = new HttpRequestMessage(HttpMethod.Get, "http://localhost:12345");
Microsoft.AspNetCore.WebSockets.Tests (7)
Microsoft.Build.Tasks.UnitTests (8)
Microsoft.DotNet.Build.Tasks.Feed (1)
Microsoft.DotNet.Deployment.Tasks.Links (1)
Microsoft.DotNet.Git.IssueManager (1)
Microsoft.DotNet.Helix.Sdk (8)
Microsoft.DotNet.Helix.Sdk.Tests (16)
FindDotNetCliPackageTests.cs (16)
27RequestMessage = new HttpRequestMessage(HttpMethod.Get, "https://dotnetcli.blob.core.windows.net/dotnet/Runtime/6.0.102/runtime-productVersion.txt"),
32RequestMessage= new HttpRequestMessage(HttpMethod.Head, "https://dotnetcli.blob.core.windows.net/dotnet/Runtime/6.0.102/dotnet-runtime-6.0.102-win-x86.zip"),
37RequestMessage = new HttpRequestMessage(HttpMethod.Get, "https://dotnetbuilds.blob.core.windows.net/public/Runtime/6.0.102/runtime-productVersion.txt"),
42RequestMessage = new HttpRequestMessage(HttpMethod.Head, "https://dotnetbuilds.blob.core.windows.net/public/Runtime/6.0.102/dotnet-runtime-6.0.102-win-x86.zip"),
75RequestMessage = new HttpRequestMessage(HttpMethod.Get, "https://fakeazureaccount.blob.core.windows.net/Runtime/6.0.102/runtime-productVersion.txt"),
80RequestMessage = new HttpRequestMessage(HttpMethod.Head, "https://fakeazureaccount.blob.core.windows.net/Runtime/6.0.102/dotnet-runtime-6.0.102-win-x86.zip"),
125RequestMessage = new HttpRequestMessage(HttpMethod.Get, "https://fakeazureaccount.blob.core.windows.net/Runtime/6.0.102/runtime-productVersion.txt"),
131RequestMessage = new HttpRequestMessage(HttpMethod.Head, "https://fakeazureaccount.blob.core.windows.net/Runtime/6.0.102/dotnet-runtime-6.0.102-win-x86.zip"),
178RequestMessage = new HttpRequestMessage(HttpMethod.Get, "https://dotnetcli.blob.core.windows.net/dotnet/Runtime/6.0.102/runtime-productVersion.txt"),
183RequestMessage= new HttpRequestMessage(HttpMethod.Head, "https://dotnetcli.blob.core.windows.net/dotnet/Runtime/6.0.102/dotnet-runtime-6.0.102-win-x86.zip"),
188RequestMessage = new HttpRequestMessage(HttpMethod.Get, "https://dotnetbuilds.blob.core.windows.net/public/Runtime/6.0.102/runtime-productVersion.txt"),
193RequestMessage = new HttpRequestMessage(HttpMethod.Head, "https://dotnetbuilds.blob.core.windows.net/public/Runtime/6.0.102/dotnet-runtime-6.0.102-win-x86.zip"),
244RequestMessage = new HttpRequestMessage(HttpMethod.Get, "https://dotnetcli.blob.core.windows.net/dotnet/Runtime/6.0.102/runtime-productVersion.txt"),
249RequestMessage = new HttpRequestMessage(HttpMethod.Head, "https://dotnetcli.blob.core.windows.net/dotnet/Runtime/6.0.102/dotnet-runtime-6.0.102-win-x86.zip"),
254RequestMessage = new HttpRequestMessage(HttpMethod.Get, "https://dotnetbuilds.blob.core.windows.net/public/Runtime/6.0.102/runtime-productVersion.txt"),
259RequestMessage = new HttpRequestMessage(HttpMethod.Head, "https://dotnetbuilds.blob.core.windows.net/public/Runtime/6.0.102/dotnet-runtime-6.0.102-win-x86.zip"),
Microsoft.DotNet.Internal.SymbolHelper (4)
Microsoft.DotNet.VersionTools (4)
Microsoft.Extensions.Http.Diagnostics.PerformanceTests (4)
Microsoft.Extensions.Http.Polly.Tests (8)
Microsoft.Extensions.Http.Resilience (1)
Microsoft.Extensions.Http.Resilience.Tests (17)
Microsoft.Extensions.ServiceDiscovery.Tests (1)
Negotiate.Client (3)
ServerComparison.FunctionalTests (6)
SocialSample (2)