105 writes to Content
dotnet-svcutil-lib (3)
Microsoft.Arcade.Common (2)
Microsoft.AspNetCore.Authentication.Test (22)
Microsoft.AspNetCore.Http.Connections.Tests (1)
Microsoft.AspNetCore.SignalR.Client.Tests (11)
Microsoft.AspNetCore.SpaServices.Extensions.Tests (1)
Microsoft.AspNetCore.TestHost (1)
Microsoft.Build.Tasks.UnitTests (8)
Microsoft.DotNet.Build.Tasks.Feed.Tests (16)
Microsoft.DotNet.Helix.Sdk.Tests (8)
Microsoft.Extensions.Http.Diagnostics (1)
Microsoft.Extensions.Http.Diagnostics.PerformanceTests (2)
Microsoft.Extensions.Http.Diagnostics.Tests (21)
Logging\HttpClientLoggerTest.cs (6)
196Content = new StringContent(responseContent, Encoding.UTF8, TextPlain),
290Content = new StringContent(responseContent, Encoding.UTF8, TextPlain),
396Content = new StringContent(responseContent, Encoding.UTF8, TextPlain),
492Content = new StringContent(responseContent, Encoding.UTF8, TextPlain),
606Content = new StringContent(responseContent, Encoding.UTF8, TextPlain),
876Content = responseContent,
Microsoft.Extensions.Http.Polly.Tests (2)
System.Net.Http (6)
2193 references to Content
Aspire.Dashboard.Tests (15)
Aspire.EndToEnd.Tests (2)
Aspire.Hosting (1)
Aspire.Hosting.PostgreSQL.Tests (1)
Aspire.Hosting.Redis.Tests (2)
Aspire.Workload.Tests (1)
AuthSamples.FunctionalTests (36)
BasicWebSite (1)
Diagnostics.EFCore.FunctionalTests (13)
Diagnostics.FunctionalTests (14)
dotnet-openapi (1)
dotnet-svcutil-lib (9)
HeaderPropagationSample (1)
HttpClientApp (2)
HttpStress (12)
IIS.FunctionalTests (54)
IIS.LongTests (32)
IIS.NewHandler.FunctionalTests (32)
IIS.NewShim.FunctionalTests (32)
IIS.ShadowCopy.Tests (3)
IIS.Tests (2)
IISExpress.FunctionalTests (81)
Infrastructure.Common (3)
InMemory.FunctionalTests (3)
installer.tasks (1)
Interop.FunctionalTests (44)
HttpClientHttp2InteropTests.cs (24)
66Assert.Equal("Hello World", await response.Content.ReadAsStringAsync());
95await BulkContent.VerifyContent(await response.Content.ReadAsStreamAsync().DefaultTimeout());
140await BulkContent.VerifyContent(await response.Content.ReadAsStreamAsync()).DefaultTimeout();
189await BulkContent.VerifyContent(await response.Content.ReadAsStreamAsync().DefaultTimeout());
305var stream = await response.Content.ReadAsStreamAsync().DefaultTimeout();
382var stream = await response.Content.ReadAsStreamAsync();
441var read = await response.Content.ReadAsStringAsync().DefaultTimeout();
540Assert.Equal("", await response.Content.ReadAsStringAsync());
573var responseBody = await response.Content.ReadAsStringAsync().DefaultTimeout();
628var exception = await Assert.ThrowsAsync<HttpRequestException>(() => response.Content.ReadAsStringAsync()).DefaultTimeout();
655var body = await response.Content.ReadAsStringAsync().DefaultTimeout();
685var responseBody = await response.Content.ReadAsStringAsync().DefaultTimeout();
741var responseEx = await Assert.ThrowsAsync<HttpRequestException>(() => response.Content.ReadAsStringAsync().DefaultTimeout());
800var responseEx = await Assert.ThrowsAsync<HttpRequestException>(() => response.Content.ReadAsStringAsync().DefaultTimeout());
973var responseStream = await response.Content.ReadAsStreamAsync().DefaultTimeout();
1014var responseStream = await response.Content.ReadAsStreamAsync().DefaultTimeout();
1332Assert.Equal("Hello World", await response.Content.ReadAsStringAsync());
1447Assert.Equal("Hello World", await response.Content.ReadAsStringAsync());
1537Assert.Equal("Hello World", await response0.Content.ReadAsStringAsync());
1538Assert.Equal("Hello World", await response1.Content.ReadAsStringAsync());
1570Assert.Equal("點.看", await response.Content.ReadAsStringAsync());
1592Assert.Equal("/ !\"$%&'()*++,-./0123456789:;<>=@ABCDEFGHIJKLMNOPQRSTUVWXYZ[/]^_`{|}~點看", await response.Content.ReadAsStringAsync());
1637Assert.Equal("Hello World", await response.Content.ReadAsStringAsync());
1682Assert.Equal("Hello World", await response.Content.ReadAsStringAsync());
JwtClientSample (1)
Microsoft.Arcade.Common (1)
Microsoft.AspNetCore.Authentication.Facebook (1)
Microsoft.AspNetCore.Authentication.Google (1)
Microsoft.AspNetCore.Authentication.MicrosoftAccount (1)
Microsoft.AspNetCore.Authentication.OAuth (1)
Microsoft.AspNetCore.Authentication.OpenIdConnect (8)
Microsoft.AspNetCore.Authentication.Test (120)
OpenIdConnect\OpenIdConnectEventTests.cs (26)
48Assert.Equal("/signin-oidc", await response.Content.ReadAsStringAsync());
94Assert.Equal("", await response.Content.ReadAsStringAsync());
116Assert.Equal("/signin-oidc", await response.Content.ReadAsStringAsync());
165Assert.Equal("", await response.Content.ReadAsStringAsync());
201Assert.Equal("", await response.Content.ReadAsStringAsync());
224Assert.Equal("/signin-oidc", await response.Content.ReadAsStringAsync());
275Assert.Equal("", await response.Content.ReadAsStringAsync());
305Assert.Equal("", await response.Content.ReadAsStringAsync());
329Assert.Equal("/signin-oidc", await response.Content.ReadAsStringAsync());
382Assert.Equal("", await response.Content.ReadAsStringAsync());
413Assert.Equal("", await response.Content.ReadAsStringAsync());
437Assert.Equal("/signin-oidc", await response.Content.ReadAsStringAsync());
490Assert.Equal("", await response.Content.ReadAsStringAsync());
521Assert.Equal("", await response.Content.ReadAsStringAsync());
546Assert.Equal("/signin-oidc", await response.Content.ReadAsStringAsync());
601Assert.Equal("", await response.Content.ReadAsStringAsync());
633Assert.Equal("", await response.Content.ReadAsStringAsync());
664Assert.Equal("/signin-oidc", await response.Content.ReadAsStringAsync());
731Assert.Equal("", await response.Content.ReadAsStringAsync());
779Assert.Equal("", await response.Content.ReadAsStringAsync());
801Assert.Equal("/signin-oidc", await response.Content.ReadAsStringAsync());
825Assert.Equal("", await response.Content.ReadAsStringAsync());
862Assert.Equal("/signin-oidc", await response.Content.ReadAsStringAsync());
896Assert.Equal("", await response.Content.ReadAsStringAsync());
922Assert.Equal("/signin-oidc", await response.Content.ReadAsStringAsync());
949Assert.Equal("", await response.Content.ReadAsStringAsync());
OpenIdConnect\OpenIdConnectEventTests_Handler.cs (26)
48Assert.Equal("/signin-oidc", await response.Content.ReadAsStringAsync());
94Assert.Equal("", await response.Content.ReadAsStringAsync());
116Assert.Equal("/signin-oidc", await response.Content.ReadAsStringAsync());
165Assert.Equal("", await response.Content.ReadAsStringAsync());
201Assert.Equal("", await response.Content.ReadAsStringAsync());
224Assert.Equal("/signin-oidc", await response.Content.ReadAsStringAsync());
275Assert.Equal("", await response.Content.ReadAsStringAsync());
305Assert.Equal("", await response.Content.ReadAsStringAsync());
329Assert.Equal("/signin-oidc", await response.Content.ReadAsStringAsync());
382Assert.Equal("", await response.Content.ReadAsStringAsync());
413Assert.Equal("", await response.Content.ReadAsStringAsync());
437Assert.Equal("/signin-oidc", await response.Content.ReadAsStringAsync());
490Assert.Equal("", await response.Content.ReadAsStringAsync());
521Assert.Equal("", await response.Content.ReadAsStringAsync());
546Assert.Equal("/signin-oidc", await response.Content.ReadAsStringAsync());
601Assert.Equal("", await response.Content.ReadAsStringAsync());
633Assert.Equal("", await response.Content.ReadAsStringAsync());
664Assert.Equal("/signin-oidc", await response.Content.ReadAsStringAsync());
731Assert.Equal("", await response.Content.ReadAsStringAsync());
779Assert.Equal("", await response.Content.ReadAsStringAsync());
801Assert.Equal("/signin-oidc", await response.Content.ReadAsStringAsync());
825Assert.Equal("", await response.Content.ReadAsStringAsync());
862Assert.Equal("/signin-oidc", await response.Content.ReadAsStringAsync());
896Assert.Equal("", await response.Content.ReadAsStringAsync());
922Assert.Equal("/signin-oidc", await response.Content.ReadAsStringAsync());
949Assert.Equal("", await response.Content.ReadAsStringAsync());
Microsoft.AspNetCore.Authentication.Twitter (5)
Microsoft.AspNetCore.CookiePolicy.Test (4)
Microsoft.AspNetCore.Cors.Test (3)
Microsoft.AspNetCore.Diagnostics.HealthChecks.Tests (49)
HealthCheckMiddlewareTests.cs (38)
122Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString());
123Assert.Equal("Healthy", await response.Content.ReadAsStringAsync());
152Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString());
153Assert.Equal("Healthy", await response.Content.ReadAsStringAsync());
185Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString());
186Assert.Equal("Healthy", await response.Content.ReadAsStringAsync());
218Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString());
219Assert.Equal("Degraded", await response.Content.ReadAsStringAsync());
251Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString());
252Assert.Equal("Unhealthy", await response.Content.ReadAsStringAsync());
284Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString());
285Assert.Equal("Unhealthy", await response.Content.ReadAsStringAsync());
329Assert.Equal("application/json", response.Content.Headers.ContentType.ToString());
331var result = await response.Content.ReadAsStringAsync();
367Assert.Equal(string.Empty, await response.Content.ReadAsStringAsync());
402Assert.Equal("Healthy", await response.Content.ReadAsStringAsync());
431Assert.Equal("Healthy", await response.Content.ReadAsStringAsync());
434Assert.Equal(new string[] { "Thu, 01 Jan 1970 00:00:00 GMT" }, response.Content.Headers.GetValues(HeaderNames.Expires));
466Assert.Equal("Healthy", await response.Content.ReadAsStringAsync());
469Assert.False(response.Content.Headers.Contains(HeaderNames.Expires));
505Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString());
506Assert.Equal("Healthy", await response.Content.ReadAsStringAsync());
535Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString());
536Assert.Equal("Healthy", await response.Content.ReadAsStringAsync());
593Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString());
594Assert.Equal("Healthy", await response.Content.ReadAsStringAsync());
658Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString());
659Assert.Equal("Healthy", await response.Content.ReadAsStringAsync());
695Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString());
696Assert.Equal("Healthy", await response.Content.ReadAsStringAsync());
733Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString());
734Assert.Equal("Healthy", await response.Content.ReadAsStringAsync());
771Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString());
772Assert.Equal("Healthy", await response.Content.ReadAsStringAsync());
851Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString());
852Assert.Equal("Healthy", await response.Content.ReadAsStringAsync());
895Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString());
896Assert.Equal("Healthy", await response.Content.ReadAsStringAsync());
Microsoft.AspNetCore.Diagnostics.Tests (39)
ExceptionHandlerTest.cs (18)
63Assert.Equal("An error occurred while adding a product", await response.Content.ReadAsStringAsync());
118Assert.Equal("Hello", await response.Content.ReadAsStringAsync());
184Assert.Equal(expectedResponseBody, await response.Content.ReadAsStringAsync());
191Assert.True(response.Content.Headers.TryGetValues("Expires", out values));
240Assert.Equal(expectedResponseBody, await response.Content.ReadAsStringAsync());
247Assert.True(response.Content.Headers.TryGetValues("Expires", out values));
295Assert.Equal(expectedResponseBody, await response.Content.ReadAsStringAsync());
303Assert.True(response.Content.Headers.TryGetValues("Expires", out values));
367Assert.Equal("Custom 404", await response.Content.ReadAsStringAsync());
437Assert.Equal("Hello", await response.Content.ReadAsStringAsync());
445Assert.True(response.Content.Headers.TryGetValues("Expires", out values));
601Assert.Equal(string.Empty, await response.Content.ReadAsStringAsync());
650Assert.Equal(string.Empty, await response.Content.ReadAsStringAsync());
771Assert.Equal("separate pipeline", await response.Content.ReadAsStringAsync());
822Assert.Equal("Handled", await response.Content.ReadAsStringAsync());
876Assert.Equal("Handled", await response.Content.ReadAsStringAsync());
928Assert.Equal("Handled", await response.Content.ReadAsStringAsync());
986Assert.Equal("Custom handler", await response.Content.ReadAsStringAsync());
Microsoft.AspNetCore.FunctionalTests (5)
Microsoft.AspNetCore.Hosting.FunctionalTests (1)
Microsoft.AspNetCore.Http.Connections.Client (4)
Microsoft.AspNetCore.Http.Connections.Tests (3)
Microsoft.AspNetCore.Identity.FunctionalTests (51)
Microsoft.AspNetCore.Identity.InMemory.Test (4)
Microsoft.AspNetCore.Localization.FunctionalTests (2)
Microsoft.AspNetCore.Localization.Routing.Tests (3)
Microsoft.AspNetCore.Mvc.FunctionalTests (907)
BasicTests.cs (33)
52var responseContent = await response.Content.ReadAsStringAsync();
56Assert.Equal(expectedMediaType, response.Content.Headers.ContentType);
72var responseContent = await response.Content.ReadAsStringAsync();
76Assert.Equal(expectedMediaType, response.Content.Headers.ContentType);
96var responseContent = await response.Content.ReadAsStringAsync();
100Assert.Equal(expectedMediaType, response.Content.Headers.ContentType);
116var responseContent = await response.Content.ReadAsStringAsync();
120Assert.Equal(expectedMediaType, response.Content.Headers.ContentType);
135var responseContent = await response.Content.ReadAsStringAsync();
148var responseContent = await response.Content.ReadAsStringAsync();
152Assert.Null(response.Content.Headers.ContentType);
153Assert.Equal(0, response.Content.Headers.ContentLength);
166Assert.Empty(await response.Content.ReadAsStringAsync());
180var responseContent = await result.Content.ReadAsStringAsync();
196Assert.Equal(0, response.Content.Headers.ContentLength);
198var responseBytes = await response.Content.ReadAsByteArrayAsync();
212Assert.Equal(0, response.Content.Headers.ContentLength);
214var responseBytes = await response.Content.ReadAsByteArrayAsync();
246Assert.Equal("text/html", response.Content.Headers.ContentType.MediaType);
248var actualBody = await response.Content.ReadAsStringAsync();
269Assert.Equal("text/html", response.Content.Headers.ContentType.MediaType);
271var actualBody = await response.Content.ReadAsStringAsync();
292Assert.Equal("text/html", response.Content.Headers.ContentType.MediaType);
294var actualBody = await response.Content.ReadAsStringAsync();
342var responseData = await response.Content.ReadAsStringAsync();
354var responseData = await response.Content.ReadAsStringAsync();
540var content = await response.Content.ReadAsStringAsync();
563var content = await response.Content.ReadAsStringAsync();
585var content = await response.Content.ReadAsStringAsync();
605var content = await response.Content.ReadAsStringAsync();
617var content = await response.Content.ReadAsStringAsync();
629var problem = await response.Content.ReadFromJsonAsync<ValidationProblemDetails>();
655var content = await response.Content.ReadAsStringAsync();
ContentNegotiationTest.cs (42)
49Assert.Equal(expectedContentType, response.Content.Headers.ContentType);
50var body = await response.Content.ReadAsStringAsync();
66Assert.Equal(expectedContentType, response.Content.Headers.ContentType);
67var body = await response.Content.ReadAsStringAsync();
82Assert.Equal(expectedContentType, response.Content.Headers.ContentType);
83var body = await response.Content.ReadAsStringAsync();
97Assert.Equal(expectedContentType, response.Content.Headers.ContentType);
117Assert.Equal(expectedContentType, response.Content.Headers.ContentType);
136Assert.Equal(expectedContentType, response.Content.Headers.ContentType);
137var actual = await response.Content.ReadAsStringAsync();
161Assert.Equal(expectedContentType, response.Content.Headers.ContentType);
162var actual = await response.Content.ReadAsStringAsync();
179Assert.Equal(expectedContentType, response.Content.Headers.ContentType);
180var actual = await response.Content.ReadAsStringAsync();
220Assert.NotNull(response.Content);
221var contentType = response.Content.Headers.ContentType;
225var actualResponseBody = await response.Content.ReadAsStringAsync();
242Assert.Equal(expectedContentType, response.Content.Headers.ContentType);
243var body = await response.Content.ReadAsStringAsync();
260Assert.Equal(expectedContentType, response.Content.Headers.ContentType);
261var body = await response.Content.ReadAsStringAsync();
277Assert.Equal(expectedContentType, response.Content.Headers.ContentType);
278var body = await response.Content.ReadAsStringAsync();
294Assert.Equal(expectedContentType, response.Content.Headers.ContentType);
295var body = await response.Content.ReadAsStringAsync();
312Assert.Equal(expectedContentType, response.Content.Headers.ContentType);
313var body = await response.Content.ReadAsStringAsync();
328Assert.Equal(expectedContentType, response.Content.Headers.ContentType);
329var body = await response.Content.ReadAsStringAsync();
353Assert.Equal(expectedContentType, response.Content.Headers.ContentType);
354var body = await response.Content.ReadAsStringAsync();
375Assert.Equal("text/plain; charset=utf-8", response.Content.Headers.ContentType.ToString());
376var actualBody = await response.Content.ReadAsStringAsync();
393Assert.Equal("application/json; charset=utf-8", response.Content.Headers.ContentType.ToString());
394var actualBody = await response.Content.ReadAsStringAsync();
480var body = await response.Content.ReadAsStringAsync();
496Assert.Equal(expectedMediaType, response.Content.Headers.ContentType);
497var body = await response.Content.ReadAsStringAsync();
514Assert.Equal(expectedMediaType, response.Content.Headers.ContentType);
515var bodyStream = await response.Content.ReadAsStreamAsync();
535Assert.Equal("application/xml; charset=utf-8", response.Content.Headers.ContentType.ToString());
536var body = await response.Content.ReadAsStringAsync();
FileResultTests.cs (139)
44Assert.NotNull(response.Content.Headers.ContentType);
45Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString());
47var body = await response.Content.ReadAsStringAsync();
67Assert.NotNull(response.Content.Headers.ContentType);
68Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString());
69var body = await response.Content.ReadAsStringAsync();
89Assert.NotNull(response.Content.Headers.ContentType);
90Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString());
91var body = await response.Content.ReadAsStringAsync();
109Assert.NotNull(response.Content.Headers.ContentType);
110Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString());
111Assert.Equal(0, response.Content.Headers.ContentLength);
112var body = await response.Content.ReadAsStringAsync();
131Assert.NotNull(response.Content.Headers.ContentType);
132Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString());
133var body = await response.Content.ReadAsStringAsync();
153Assert.NotNull(response.Content.Headers.ContentType);
154Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString());
155var body = await response.Content.ReadAsStringAsync();
173Assert.NotNull(response.Content.Headers.ContentType);
174Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString());
175Assert.Equal(0, response.Content.Headers.ContentLength);
176var body = await response.Content.ReadAsStringAsync();
191Assert.NotNull(response.Content.Headers.ContentType);
192Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString());
194var body = await response.Content.ReadAsStringAsync();
198var contentDisposition = response.Content.Headers.ContentDisposition.ToString();
217Assert.NotNull(response.Content.Headers.ContentType);
218Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString());
219var body = await response.Content.ReadAsStringAsync();
236Assert.NotNull(response.Content.Headers.ContentType);
237Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString());
238var body = await response.Content.ReadAsStringAsync();
256Assert.NotNull(response.Content.Headers.ContentType);
257Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString());
258var body = await response.Content.ReadAsStringAsync();
289Assert.NotNull(response.Content.Headers.ContentType);
290Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString());
292var body = await response.Content.ReadAsStringAsync();
296var contentLength = response.Content.Headers.ContentLength;
299var contentDisposition = response.Content.Headers.ContentDisposition.ToString();
314Assert.NotNull(response.Content.Headers.ContentType);
315Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString());
317var body = await response.Content.ReadAsStringAsync();
331Assert.NotNull(response.Content.Headers.ContentType);
332Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString());
334var body = await response.Content.ReadAsStringAsync();
353Assert.NotNull(response.Content.Headers.ContentType);
354Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString());
355var body = await response.Content.ReadAsStringAsync();
376Assert.NotNull(response.Content.Headers.ContentType);
377Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString());
378var body = await response.Content.ReadAsStringAsync();
393var body = await response.Content.ReadAsStringAsync();
397Assert.NotNull(response.Content.Headers.ContentType);
398Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString());
399Assert.Equal(0, response.Content.Headers.ContentLength);
412Assert.NotNull(response.Content.Headers.ContentType);
413Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString());
415var body = await response.Content.ReadAsStringAsync();
419var contentDisposition = response.Content.Headers.ContentDisposition.ToString();
438Assert.NotNull(response.Content.Headers.ContentType);
439Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString());
440var body = await response.Content.ReadAsStringAsync();
454var body = await response.Content.ReadAsStringAsync();
457Assert.NotNull(response.Content.Headers.ContentType);
458Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString());
476var body = await response.Content.ReadAsStringAsync();
508Assert.NotNull(response.Content.Headers.ContentType);
509Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString());
511var body = await response.Content.ReadAsStringAsync();
515var contentLength = response.Content.Headers.ContentLength;
518var contentDisposition = response.Content.Headers.ContentDisposition.ToString();
532Assert.NotNull(response.Content.Headers.ContentType);
533Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString());
535var body = await response.Content.ReadAsStringAsync();
552var body = await response.Content.ReadAsStringAsync();
555Assert.NotNull(response.Content.Headers.ContentType);
556Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString());
577Assert.NotNull(response.Content.Headers.ContentType);
578Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString());
579var body = await response.Content.ReadAsStringAsync();
594var body = await response.Content.ReadAsStringAsync();
597Assert.NotNull(response.Content.Headers.ContentType);
598Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString());
601Assert.NotNull(response.Content.Headers.ContentType);
602Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString());
603Assert.Equal(0, response.Content.Headers.ContentLength);
616Assert.NotNull(response.Content.Headers.ContentType);
617Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString());
619var body = await response.Content.ReadAsStringAsync();
623var contentDisposition = response.Content.Headers.ContentDisposition.ToString();
642Assert.NotNull(response.Content.Headers.ContentType);
643Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString());
644var body = await response.Content.ReadAsStringAsync();
658var body = await response.Content.ReadAsStringAsync();
661Assert.NotNull(response.Content.Headers.ContentType);
662Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString());
681Assert.NotNull(response.Content.Headers.ContentType);
682Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString());
683var body = await response.Content.ReadAsStringAsync();
714Assert.NotNull(response.Content.Headers.ContentType);
715Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString());
717var body = await response.Content.ReadAsStringAsync();
721var contentLength = response.Content.Headers.ContentLength;
724var contentDisposition = response.Content.Headers.ContentDisposition.ToString();
741Assert.NotNull(response.Content.Headers.ContentType);
742Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString());
744var body = await response.Content.ReadAsStringAsync();
748var contentDisposition = response.Content.Headers.ContentDisposition.ToString();
768Assert.NotNull(response.Content.Headers.ContentType);
769Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString());
770var body = await response.Content.ReadAsStringAsync();
773var contentDisposition = response.Content.Headers.ContentDisposition.ToString();
792Assert.NotNull(response.Content.Headers.ContentType);
793Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString());
794var body = await response.Content.ReadAsStringAsync();
811Assert.NotNull(response.Content.Headers.ContentType);
812Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString());
813var body = await response.Content.ReadAsStringAsync();
816var contentDisposition = response.Content.Headers.ContentDisposition.ToString();
834Assert.NotNull(response.Content.Headers.ContentType);
835Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString());
836var body = await response.Content.ReadAsStringAsync();
838var contentDisposition = response.Content.Headers.ContentDisposition.ToString();
858Assert.NotNull(response.Content.Headers.ContentType);
859Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString());
860var body = await response.Content.ReadAsStringAsync();
862var contentDisposition = response.Content.Headers.ContentDisposition.ToString();
881Assert.NotNull(response.Content.Headers.ContentType);
882Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString());
883Assert.Equal(0, response.Content.Headers.ContentLength);
884var body = await response.Content.ReadAsStringAsync();
886var contentDisposition = response.Content.Headers.ContentDisposition.ToString();
918Assert.NotNull(response.Content.Headers.ContentType);
919Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString());
921var body = await response.Content.ReadAsStringAsync();
925var contentLength = response.Content.Headers.ContentLength;
928var contentDisposition = response.Content.Headers.ContentDisposition.ToString();
Microsoft.AspNetCore.OutputCaching.Tests (10)
Microsoft.AspNetCore.ResponseCaching.Tests (8)
Microsoft.AspNetCore.ResponseCompression.Tests (32)
ResponseCompressionMiddlewareTest.cs (32)
424Assert.True(response.Content.Headers.ContentEncoding.Contains(otherContentEncoding));
425Assert.False(response.Content.Headers.ContentEncoding.Contains("gzip"));
426Assert.Equal(50, response.Content.Headers.ContentLength);
479Assert.Equal(expectedLength, (await response.Content.ReadAsByteArrayAsync()).Length);
542Assert.Equal(expectedLength, (await response.Content.ReadAsByteArrayAsync()).Length);
605Assert.Equal(expectedLength, (await response.Content.ReadAsByteArrayAsync()).Length);
659await response.Content.LoadIntoBufferAsync();
704await response.Content.LoadIntoBufferAsync();
755Assert.False(response.Content.Headers.TryGetValues(HeaderNames.ContentMD5, out _));
756Assert.Single(response.Content.Headers.ContentEncoding, encoding);
758var body = await response.Content.ReadAsStreamAsync();
808Assert.False(response.Content.Headers.TryGetValues(HeaderNames.ContentMD5, out _));
809Assert.Single(response.Content.Headers.ContentEncoding, encoding);
811var body = await response.Content.ReadAsStreamAsync();
877Assert.False(response.Content.Headers.TryGetValues(HeaderNames.ContentMD5, out _));
878Assert.Single(response.Content.Headers.ContentEncoding, encoding);
880var body = await response.Content.ReadAsStreamAsync();
941Assert.False(response.Content.Headers.TryGetValues(HeaderNames.ContentMD5, out _));
942Assert.Single(response.Content.Headers.ContentEncoding, encoding);
944var body = await response.Content.ReadAsStreamAsync();
1005Assert.True(response.Content.Headers.TryGetValues(HeaderNames.ContentMD5, out var md5));
1007Assert.Empty(response.Content.Headers.ContentEncoding);
1009var body = await response.Content.ReadAsStreamAsync();
1217Assert.False(response.Content.Headers.TryGetValues(HeaderNames.ContentMD5, out _));
1218Assert.Single(response.Content.Headers.ContentEncoding, encoding);
1220var body = await response.Content.ReadAsStreamAsync();
1301Assert.False(response.Content.Headers.TryGetValues(HeaderNames.ContentMD5, out _));
1302Assert.Single(response.Content.Headers.ContentEncoding, expectedEncoding);
1303Assert.Equal(expectedBodyLength, response.Content.Headers.ContentLength);
1325Assert.NotNull(response.Content.Headers.GetValues(HeaderNames.ContentMD5));
1326Assert.Empty(response.Content.Headers.ContentEncoding);
1327Assert.Equal(expectedBodyLength, response.Content.Headers.ContentLength);
Microsoft.AspNetCore.Rewrite.Tests (1)
Microsoft.AspNetCore.Routing.FunctionalTests (52)
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (113)
Listener\ResponseBodyTests.cs (10)
46Assert.False(response.Content.Headers.TryGetValues("content-length", out ignored), "Content-Length");
48Assert.Equal(new byte[10], await response.Content.ReadAsByteArrayAsync());
70Assert.False(response.Content.Headers.TryGetValues("content-length", out contentLength), "Content-Length");
72Assert.Equal(20, (await response.Content.ReadAsByteArrayAsync()).Length);
95Assert.False(response.Content.Headers.TryGetValues("content-length", out ignored), "Content-Length");
97Assert.Equal(new byte[0], await response.Content.ReadAsByteArrayAsync());
118Assert.Equal(new byte[20], await response.Content.ReadAsByteArrayAsync());
140Assert.Equal(new byte[20], await response.Content.ReadAsByteArrayAsync());
204await Assert.ThrowsAsync<HttpRequestException>(() => response.Content.LoadIntoBufferAsync());
226await Assert.ThrowsAsync<HttpRequestException>(() => response.Content.LoadIntoBufferAsync());
ResponseBodyTests.cs (24)
36Assert.False(response.Content.Headers.TryGetValues("content-length", out ignored), "Content-Length");
38Assert.Equal("Hello World", await response.Content.ReadAsStringAsync());
64Assert.Equal(0, response.Content.Headers.ContentLength);
85Assert.True(0 < (await response.Content.ReadAsByteArrayAsync()).Length);
104Assert.True(0 < (await response.Content.ReadAsByteArrayAsync()).Length);
123Assert.False(response.Content.Headers.TryGetValues("content-length", out ignored), "Content-Length");
125Assert.Equal(new byte[20], await response.Content.ReadAsByteArrayAsync());
155Assert.False(response.Content.Headers.TryGetValues("content-length", out ignored), "Content-Length");
158var bytes = await response.Content.ReadAsByteArrayAsync();
180Assert.False(response.Content.Headers.TryGetValues("content-length", out ignored), "Content-Length");
182Assert.Equal(new byte[20], await response.Content.ReadAsByteArrayAsync());
202Assert.False(response.Content.Headers.TryGetValues("content-length", out ignored), "Content-Length");
204Assert.Equal("Manually Chunked", await response.Content.ReadAsStringAsync());
226Assert.True(response.Content.Headers.TryGetValues("content-length", out contentLength), "Content-Length");
229Assert.Equal(new byte[30], await response.Content.ReadAsByteArrayAsync());
306Assert.True(response.Content.Headers.TryGetValues("content-length", out contentLength), "Content-Length");
309Assert.Equal(new byte[10], await response.Content.ReadAsByteArrayAsync());
338Assert.False(response.Content.Headers.TryGetValues("content-length", out ignored), "Content-Length");
340Assert.Equal(new byte[10], await response.Content.ReadAsByteArrayAsync());
366Assert.False(response.Content.Headers.TryGetValues("content-length", out ignored), "Content-Length");
368Assert.Equal(new byte[10], await response.Content.ReadAsByteArrayAsync());
393Assert.False(response.Content.Headers.TryGetValues("content-length", out ignored), "Content-Length");
395Assert.Equal(new byte[10], await response.Content.ReadAsByteArrayAsync());
430var payload = await response.Content.ReadAsByteArrayAsync();
ResponseSendFileTests.cs (26)
74Assert.False(response.Content.Headers.TryGetValues("content-length", out ignored), "Content-Length");
76Assert.Equal(FileLength, (await response.Content.ReadAsByteArrayAsync()).Length);
93Assert.False(response.Content.Headers.TryGetValues("content-length", out ignored), "Content-Length");
95Assert.Equal(FileLength, (await response.Content.ReadAsByteArrayAsync()).Length);
112Assert.False(response.Content.Headers.TryGetValues("content-length", out contentLength), "Content-Length");
114Assert.Equal(FileLength, (await response.Content.ReadAsByteArrayAsync()).Length);
132Assert.False(response.Content.Headers.TryGetValues("content-length", out contentLength), "Content-Length");
134Assert.Equal(FileLength * 2, (await response.Content.ReadAsByteArrayAsync()).Length);
151Assert.False(response.Content.Headers.TryGetValues("content-length", out contentLength), "Content-Length");
153Assert.Equal(FileLength / 2, (await response.Content.ReadAsByteArrayAsync()).Length);
208Assert.False(response.Content.Headers.TryGetValues("content-length", out contentLength), "Content-Length");
210Assert.Empty((await response.Content.ReadAsByteArrayAsync()));
228Assert.True(response.Content.Headers.TryGetValues("content-length", out contentLength), "Content-Length");
231Assert.Equal(FileLength, (await response.Content.ReadAsByteArrayAsync()).Length);
249Assert.True(response.Content.Headers.TryGetValues("content-length", out contentLength), "Content-Length");
252Assert.Equal(10, (await response.Content.ReadAsByteArrayAsync()).Length);
270Assert.True(response.Content.Headers.TryGetValues("content-length", out contentLength), "Content-Length");
273Assert.Empty((await response.Content.ReadAsByteArrayAsync()));
299Assert.False(response.Content.Headers.TryGetValues("content-length", out ignored), "Content-Length");
301Assert.Equal(10, (await response.Content.ReadAsByteArrayAsync()).Length);
322Assert.False(response.Content.Headers.TryGetValues("content-length", out var contentLength), "Content-Length");
324Assert.Equal(10, (await response.Content.ReadAsByteArrayAsync()).Length);
346Assert.Equal(FileLength * 2, (await response.Content.ReadAsByteArrayAsync()).Length);
364Assert.Equal(FileLength * 2, (await response.Content.ReadAsByteArrayAsync()).Length);
617var bufferTask = response.Content.LoadIntoBufferAsync();
666var bufferTask = response.Content.LoadIntoBufferAsync();
ResponseTrailersTests.cs (10)
110Assert.Equal("Hello World", await response.Content.ReadAsStringAsync());
140Assert.Equal(body.Length.ToString(CultureInfo.InvariantCulture), response.Content.Headers.GetValues(HeaderNames.ContentLength).Single());
141Assert.Equal(body, await response.Content.ReadAsStringAsync());
164Assert.True(response.Content.Headers.TryGetValues(HeaderNames.ContentLength, out var contentLength), HeaderNames.ContentLength);
166Assert.Equal(body + body, await response.Content.ReadAsStringAsync());
189Assert.True(response.Content.Headers.TryGetValues(HeaderNames.ContentLength, out var contentLength), HeaderNames.ContentLength);
192Assert.Equal(body, await response.Content.ReadAsStringAsync());
215Assert.True(response.Content.Headers.TryGetValues(HeaderNames.ContentLength, out var contentLength), HeaderNames.ContentLength);
218Assert.Equal(body, await response.Content.ReadAsStringAsync());
260Assert.Equal("Hello World", await response.Content.ReadAsStringAsync());
Microsoft.AspNetCore.Server.IntegrationTesting.IIS (3)
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Tests (7)
Microsoft.AspNetCore.Session.Tests (3)
Microsoft.AspNetCore.SignalR.Client.FunctionalTests (2)
Microsoft.AspNetCore.SignalR.Tests (2)
Microsoft.AspNetCore.SpaServices.Extensions (2)
Microsoft.AspNetCore.StaticAssets.Tests (26)
StaticAssetsIntegrationTests.cs (26)
65Assert.Equal(13, response.Content.Headers.ContentLength);
66Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString());
67Assert.Equal("Hello, World!", await response.Content.ReadAsStringAsync());
115Assert.Equal(13, response.Content.Headers.ContentLength);
116Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString());
117Assert.Equal("Hello, World!", await response.Content.ReadAsStringAsync());
167Assert.Equal(13, response.Content.Headers.ContentLength);
168Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString());
169Assert.Equal("Hello, World!", await response.Content.ReadAsStringAsync());
336Assert.Equal(13, response.Content.Headers.ContentLength);
337Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString());
338Assert.Equal("Hello, World!", await response.Content.ReadAsStringAsync());
389Assert.Equal(22, response.Content.Headers.ContentLength);
390Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString());
391Assert.Equal("Hello, World! Modified", await response.Content.ReadAsStringAsync());
445Assert.Equal(55, response.Content.Headers.ContentLength);
446Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString());
447var gzipContent = await response.Content.ReadAsStreamAsync();
764Assert.NotNull(response.Content.Headers.LastModified);
766Assert.Equal(response.Content.Headers.LastModified.Value.Offset, TimeSpan.Zero);
788req2.Headers.IfModifiedSince = resp1.Content.Headers.LastModified;
825var lastModified = resp1.Content.Headers.LastModified.Value;
1011Assert.Equal("Hello", await res1.Content.ReadAsStringAsync());
1012Assert.Equal(5, res1.Content.Headers.ContentLength);
1015Assert.Equal("World", await res2.Content.ReadAsStringAsync());
1016Assert.Equal(5, res2.Content.Headers.ContentLength);
Microsoft.AspNetCore.StaticFiles.FunctionalTests (13)
Microsoft.AspNetCore.StaticFiles.Tests (123)
RangeHeaderTests.cs (74)
28Assert.Equal("bytes 0-10/62", resp.Content.Headers.ContentRange.ToString());
29Assert.Equal(11, resp.Content.Headers.ContentLength);
30Assert.Equal("0123456789a", await resp.Content.ReadAsStringAsync());
51Assert.Null(resp.Content.Headers.ContentRange);
52Assert.Equal(62, resp.Content.Headers.ContentLength);
53Assert.Equal(string.Empty, await resp.Content.ReadAsStringAsync());
66req.Headers.Add("If-Range", original.Content.Headers.LastModified.Value.ToString("r"));
70Assert.Equal("bytes 0-10/62", resp.Content.Headers.ContentRange.ToString());
71Assert.Equal(11, resp.Content.Headers.ContentLength);
72Assert.Equal("0123456789a", await resp.Content.ReadAsStringAsync());
83req.Headers.Add("If-Modified-Since", original.Content.Headers.LastModified.Value.AddHours(-1).ToString("r"));
87Assert.Equal("bytes 0-10/62", resp.Content.Headers.ContentRange.ToString());
88Assert.Equal(11, resp.Content.Headers.ContentLength);
89Assert.Equal("0123456789a", await resp.Content.ReadAsStringAsync());
100req.Headers.Add("If-Modified-Since", original.Content.Headers.LastModified.Value.ToString("r"));
117req.Headers.Add("If-Range", original.Content.Headers.LastModified.Value.ToString("r"));
122Assert.Equal(original.Content.Headers.LastModified, resp.Content.Headers.LastModified);
123Assert.Null(resp.Content.Headers.ContentRange);
124Assert.Equal(62, resp.Content.Headers.ContentLength);
125Assert.Equal(string.Empty, await resp.Content.ReadAsStringAsync());
140Assert.Null(resp.Content.Headers.ContentRange);
141Assert.Equal(62, resp.Content.Headers.ContentLength);
142Assert.Equal("0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ", await resp.Content.ReadAsStringAsync());
157Assert.Null(resp.Content.Headers.ContentRange);
158Assert.Equal(62, resp.Content.Headers.ContentLength);
159Assert.Equal(string.Empty, await resp.Content.ReadAsStringAsync());
172req.Headers.Add("If-Range", original.Content.Headers.LastModified.Value.Subtract(TimeSpan.FromDays(1)).ToString("r"));
176Assert.Null(resp.Content.Headers.ContentRange);
177Assert.Equal(62, resp.Content.Headers.ContentLength);
178Assert.Equal("0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ", await resp.Content.ReadAsStringAsync());
191req.Headers.Add("If-Range", original.Content.Headers.LastModified.Value.Subtract(TimeSpan.FromDays(1)).ToString("r"));
195Assert.Null(resp.Content.Headers.ContentRange);
196Assert.Equal(62, resp.Content.Headers.ContentLength);
197Assert.Equal(string.Empty, await resp.Content.ReadAsStringAsync());
214Assert.Null(resp.Content.Headers.ContentRange);
215Assert.Equal(62, resp.Content.Headers.ContentLength);
216Assert.Equal("0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ", await resp.Content.ReadAsStringAsync());
219req.Headers.Add("If-Range", original.Content.Headers.LastModified.Value.ToString("r"));
222Assert.Null(resp.Content.Headers.ContentRange);
223Assert.Equal(62, resp.Content.Headers.ContentLength);
224Assert.Equal("0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ", await resp.Content.ReadAsStringAsync());
241Assert.Null(resp.Content.Headers.ContentRange);
242Assert.Equal(62, resp.Content.Headers.ContentLength);
243Assert.Equal(string.Empty, await resp.Content.ReadAsStringAsync());
246req.Headers.Add("If-Range", original.Content.Headers.LastModified.Value.ToString("r"));
249Assert.Null(resp.Content.Headers.ContentRange);
250Assert.Equal(62, resp.Content.Headers.ContentLength);
251Assert.Equal(string.Empty, await resp.Content.ReadAsStringAsync());
274Assert.NotNull(resp.Content.Headers.ContentRange);
275Assert.Equal("bytes " + expectedRange + "/62", resp.Content.Headers.ContentRange.ToString());
276Assert.Equal(length, resp.Content.Headers.ContentLength);
277Assert.Equal(expectedData, await resp.Content.ReadAsStringAsync());
295Assert.NotNull(resp.Content.Headers.ContentRange);
296Assert.Equal("bytes " + expectedRange + "/1", resp.Content.Headers.ContentRange.ToString());
297Assert.Equal(length, resp.Content.Headers.ContentLength);
298Assert.Equal(expectedData, await resp.Content.ReadAsStringAsync());
330Assert.Null(resp.Content.Headers.ContentRange);
331Assert.Equal(62, resp.Content.Headers.ContentLength);
332Assert.Equal(string.Empty, await resp.Content.ReadAsStringAsync());
348Assert.Equal("bytes */62", resp.Content.Headers.ContentRange.ToString());
363Assert.Null(resp.Content.Headers.ContentRange);
383Assert.Null(resp.Content.Headers.ContentRange);
384Assert.Equal(62, resp.Content.Headers.ContentLength);
385Assert.Equal("0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ", await resp.Content.ReadAsStringAsync());
405Assert.Null(resp.Content.Headers.ContentRange);
406Assert.Equal(62, resp.Content.Headers.ContentLength);
407Assert.Equal(string.Empty, await resp.Content.ReadAsStringAsync());
426Assert.Equal("text/plain", resp.Content.Headers.ContentType.ToString());
427Assert.Null(resp.Content.Headers.ContentRange);
428Assert.Equal(62, resp.Content.Headers.ContentLength);
429Assert.Equal("0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ", await resp.Content.ReadAsStringAsync());
446Assert.Equal("text/plain", resp.Content.Headers.ContentType.ToString());
447Assert.Equal(string.Empty, await resp.Content.ReadAsStringAsync());
StaticFileMiddlewareTests.cs (27)
134Assert.Equal(response.Content.Headers.LastModified.Value, trimmed);
187var responseContent = await response.Content.ReadAsByteArrayAsync();
190Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString());
191Assert.True(response.Content.Headers.ContentLength == fileInfo.Length);
192Assert.Equal(response.Content.Headers.ContentLength, responseContent.Length);
226var responseContent = await response.Content.ReadAsByteArrayAsync();
229Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString());
230Assert.True(response.Content.Headers.ContentLength == fileInfo.Length);
231Assert.Equal(response.Content.Headers.ContentLength, responseContent.Length);
268var responseContent = await response.Content.ReadAsByteArrayAsync();
271Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString());
272Assert.True(response.Content.Headers.ContentLength == fileInfo.Length);
273Assert.Equal(response.Content.Headers.ContentLength, responseContent.Length);
318var responseContent = await response.Content.ReadAsByteArrayAsync();
321Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString());
322Assert.True(response.Content.Headers.ContentLength == fileInfo.Length);
323Assert.Equal(response.Content.Headers.ContentLength, responseContent.Length);
361var responseContent = await response.Content.ReadAsByteArrayAsync();
364Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString());
365Assert.True(response.Content.Headers.ContentLength == fileInfo.Length);
366Assert.Equal(response.Content.Headers.ContentLength, responseContent.Length);
409var responseContent = await response.Content.ReadAsStringAsync();
412Assert.Equal("text/customfortest+plain", response.Content.Headers.ContentType.ToString());
482Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString());
483Assert.True(response.Content.Headers.ContentLength == fileInfo.Length);
484Assert.Empty((await response.Content.ReadAsByteArrayAsync()));
539Assert.Null(response.Content.Headers.LastModified);
Microsoft.AspNetCore.TestHost (1)
Microsoft.AspNetCore.TestHost.Tests (31)
Microsoft.AspNetCore.Tests (7)
Microsoft.Build.Tasks.Core (7)
Microsoft.DotNet.Arcade.Sdk (1)
Microsoft.DotNet.Build.Tasks.Feed (2)
Microsoft.DotNet.Deployment.Tasks.Links (8)
Microsoft.DotNet.Git.IssueManager (1)
Microsoft.DotNet.Helix.Sdk (7)
Microsoft.DotNet.Internal.SymbolHelper (2)
Microsoft.DotNet.VersionTools (12)
Microsoft.Extensions.Http (2)
Microsoft.Extensions.Http.Diagnostics (4)
Microsoft.Extensions.Http.Diagnostics.PerformanceTests (2)
Microsoft.Extensions.Http.Diagnostics.Tests (6)
Microsoft.Extensions.ML (1)
Microsoft.Maui.Controls (1)
Microsoft.ML.AutoML.Tests (1)
Microsoft.ML.Core (1)
Microsoft.ML.PerformanceTests (3)
Microsoft.ML.Tokenizers (1)
Microsoft.ML.Tokenizers.Data.Tests (1)
Microsoft.ML.Tokenizers.Tests (1)
Negotiate.Client (12)
OpenIdConnectSample (1)
ServerComparison.FunctionalTests (22)
SocialSample (3)
Sockets.FunctionalTests (2)
Stress.ApiService (1)
System.Net.Http (24)
System.Net.Http.Json (2)
System.Net.Requests (9)
System.Net.WebSockets.Client (2)
Templates.Blazor.Tests (1)
Templates.Tests (2)