16 writes to ContentType
dotnet-svcutil-lib (1)
Interop.FunctionalTests (1)
Microsoft.AspNetCore.HttpLogging.Tests (2)
Microsoft.AspNetCore.Mvc.FunctionalTests (2)
Microsoft.Extensions.Http.Diagnostics.PerformanceTests (2)
Microsoft.Extensions.Http.Diagnostics.Tests (3)
System.Net.Http (4)
System.Net.Http.Json (1)
283 references to ContentType
AuthSamples.FunctionalTests (1)
dotnet-svcutil-lib (5)
InMemory.FunctionalTests (1)
Microsoft.AspNetCore.Authentication.OpenIdConnect (5)
Microsoft.AspNetCore.Authentication.Test (25)
Microsoft.AspNetCore.Authentication.Twitter (1)
Microsoft.AspNetCore.CookiePolicy.Test (2)
Microsoft.AspNetCore.Diagnostics.HealthChecks.Tests (22)
HealthCheckMiddlewareTests.cs (16)
122Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString());
152Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString());
185Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString());
218Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString());
251Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString());
284Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString());
329Assert.Equal("application/json", response.Content.Headers.ContentType.ToString());
505Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString());
535Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString());
593Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString());
658Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString());
695Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString());
733Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString());
771Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString());
851Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString());
895Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString());
Microsoft.AspNetCore.Diagnostics.Tests (3)
Microsoft.AspNetCore.Identity.FunctionalTests (3)
Microsoft.AspNetCore.Identity.InMemory.Test (2)
Microsoft.AspNetCore.InternalTesting (1)
Microsoft.AspNetCore.Mvc.FunctionalTests (174)
ContentNegotiationTest.cs (21)
49Assert.Equal(expectedContentType, response.Content.Headers.ContentType);
66Assert.Equal(expectedContentType, response.Content.Headers.ContentType);
82Assert.Equal(expectedContentType, response.Content.Headers.ContentType);
97Assert.Equal(expectedContentType, response.Content.Headers.ContentType);
117Assert.Equal(expectedContentType, response.Content.Headers.ContentType);
136Assert.Equal(expectedContentType, response.Content.Headers.ContentType);
161Assert.Equal(expectedContentType, response.Content.Headers.ContentType);
179Assert.Equal(expectedContentType, response.Content.Headers.ContentType);
221var contentType = response.Content.Headers.ContentType;
242Assert.Equal(expectedContentType, response.Content.Headers.ContentType);
260Assert.Equal(expectedContentType, response.Content.Headers.ContentType);
277Assert.Equal(expectedContentType, response.Content.Headers.ContentType);
294Assert.Equal(expectedContentType, response.Content.Headers.ContentType);
312Assert.Equal(expectedContentType, response.Content.Headers.ContentType);
328Assert.Equal(expectedContentType, response.Content.Headers.ContentType);
353Assert.Equal(expectedContentType, response.Content.Headers.ContentType);
375Assert.Equal("text/plain; charset=utf-8", response.Content.Headers.ContentType.ToString());
393Assert.Equal("application/json; charset=utf-8", response.Content.Headers.ContentType.ToString());
496Assert.Equal(expectedMediaType, response.Content.Headers.ContentType);
514Assert.Equal(expectedMediaType, response.Content.Headers.ContentType);
535Assert.Equal("application/xml; charset=utf-8", response.Content.Headers.ContentType.ToString());
FileResultTests.cs (78)
44Assert.NotNull(response.Content.Headers.ContentType);
45Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString());
67Assert.NotNull(response.Content.Headers.ContentType);
68Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString());
89Assert.NotNull(response.Content.Headers.ContentType);
90Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString());
109Assert.NotNull(response.Content.Headers.ContentType);
110Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString());
131Assert.NotNull(response.Content.Headers.ContentType);
132Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString());
153Assert.NotNull(response.Content.Headers.ContentType);
154Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString());
173Assert.NotNull(response.Content.Headers.ContentType);
174Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString());
191Assert.NotNull(response.Content.Headers.ContentType);
192Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString());
217Assert.NotNull(response.Content.Headers.ContentType);
218Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString());
236Assert.NotNull(response.Content.Headers.ContentType);
237Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString());
256Assert.NotNull(response.Content.Headers.ContentType);
257Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString());
289Assert.NotNull(response.Content.Headers.ContentType);
290Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString());
314Assert.NotNull(response.Content.Headers.ContentType);
315Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString());
331Assert.NotNull(response.Content.Headers.ContentType);
332Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString());
353Assert.NotNull(response.Content.Headers.ContentType);
354Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString());
376Assert.NotNull(response.Content.Headers.ContentType);
377Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString());
397Assert.NotNull(response.Content.Headers.ContentType);
398Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString());
412Assert.NotNull(response.Content.Headers.ContentType);
413Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString());
438Assert.NotNull(response.Content.Headers.ContentType);
439Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString());
457Assert.NotNull(response.Content.Headers.ContentType);
458Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString());
508Assert.NotNull(response.Content.Headers.ContentType);
509Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString());
532Assert.NotNull(response.Content.Headers.ContentType);
533Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString());
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());
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());
616Assert.NotNull(response.Content.Headers.ContentType);
617Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString());
642Assert.NotNull(response.Content.Headers.ContentType);
643Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString());
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());
714Assert.NotNull(response.Content.Headers.ContentType);
715Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString());
741Assert.NotNull(response.Content.Headers.ContentType);
742Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString());
768Assert.NotNull(response.Content.Headers.ContentType);
769Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString());
792Assert.NotNull(response.Content.Headers.ContentType);
793Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString());
811Assert.NotNull(response.Content.Headers.ContentType);
812Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString());
834Assert.NotNull(response.Content.Headers.ContentType);
835Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString());
858Assert.NotNull(response.Content.Headers.ContentType);
859Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString());
881Assert.NotNull(response.Content.Headers.ContentType);
882Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString());
918Assert.NotNull(response.Content.Headers.ContentType);
919Assert.Equal("text/plain", response.Content.Headers.ContentType.ToString());
Microsoft.AspNetCore.Routing.FunctionalTests (10)
Microsoft.AspNetCore.StaticAssets.Tests (6)
Microsoft.AspNetCore.StaticFiles.FunctionalTests (2)
Microsoft.AspNetCore.StaticFiles.Tests (12)
Microsoft.AspNetCore.TestHost.Tests (1)
Microsoft.AspNetCore.Tests (3)
Microsoft.Extensions.Http.Diagnostics (2)
System.Net.Http (1)
System.Net.Http.Json (1)