22 references to GetTypedHeaders
Microsoft.AspNetCore.Components.Endpoints (1)
src\Components\Shared\src\CacheHeaderSettings.cs (1)
19var headers = ctx.Context.Response.GetTypedHeaders();
Microsoft.AspNetCore.Components.Server (1)
src\Components\Shared\src\CacheHeaderSettings.cs (1)
19var headers = ctx.Context.Response.GetTypedHeaders();
Microsoft.AspNetCore.Components.WebAssembly.Server (1)
src\Components\Shared\src\CacheHeaderSettings.cs (1)
19var headers = ctx.Context.Response.GetTypedHeaders();
Microsoft.AspNetCore.Http.Results (2)
src\Shared\ResultsHelpers\FileResultHelper.cs (2)
293var httpResponseHeaders = response.GetTypedHeaders(); 360var httpResponseHeaders = response.GetTypedHeaders();
Microsoft.AspNetCore.Mvc.Core (2)
src\Shared\ResultsHelpers\FileResultHelper.cs (2)
293var httpResponseHeaders = response.GetTypedHeaders(); 360var httpResponseHeaders = response.GetTypedHeaders();
Microsoft.AspNetCore.Mvc.Core.Test (1)
Formatters\TextOutputFormatterTests.cs (1)
206Assert.Equal(MediaTypeHeaderValue.Parse(testContentType.Value), context.HttpContext.Response.GetTypedHeaders().ContentType);
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (2)
CookieTempDataProviderTest.cs (2)
283var responseCookies = httpContext.Response.GetTypedHeaders().SetCookie; 322var responseCookies = httpContext.Response.GetTypedHeaders().SetCookie;
Microsoft.AspNetCore.OutputCaching.Tests (4)
OutputCacheTests.cs (3)
697context.Response.GetTypedHeaders().ETag = new EntityTagHeaderValue("\"E1\""); 746context.Response.GetTypedHeaders().ETag = new EntityTagHeaderValue("\"E1\""); 772var builders = TestUtils.CreateBuildersWithOutputCaching(contextAction: context => context.Response.GetTypedHeaders().ETag = new EntityTagHeaderValue("\"E1\""));
TestUtils.cs (1)
35var headers = context.Response.GetTypedHeaders();
Microsoft.AspNetCore.ResponseCaching.Tests (4)
ResponseCachingTests.cs (3)
643context.Response.GetTypedHeaders().ETag = new EntityTagHeaderValue("\"E1\""); 696context.Response.GetTypedHeaders().ETag = new EntityTagHeaderValue("\"E1\""); 724var builders = TestUtils.CreateBuildersWithResponseCaching(contextAction: context => context.Response.GetTypedHeaders().ETag = new EntityTagHeaderValue("\"E1\""));
TestUtils.cs (1)
34var headers = context.Response.GetTypedHeaders();
Microsoft.AspNetCore.StaticAssets (2)
Development\StaticAssetDevelopmentRuntimeHandler.cs (1)
213ctx.Response.GetTypedHeaders().ETag = new EntityTagHeaderValue(GetETag(fileInfo));
StaticAssetsInvoker.cs (1)
271ResponseHeaders = context.Response.GetTypedHeaders();
Microsoft.AspNetCore.StaticFiles (1)
StaticFileContext.cs (1)
89private ResponseHeaders ResponseHeaders => _responseHeaders ??= _response.GetTypedHeaders();
ResponseCachingSample (1)
Startup.cs (1)
20context.Response.GetTypedHeaders().CacheControl = new CacheControlHeaderValue()