6 implementations of Pragma
Microsoft.AspNetCore.Server.HttpSys (1)
src\Shared\HttpSys\RequestProcessing\RequestHeaders.Generated.cs (1)
758public StringValues Pragma
Microsoft.AspNetCore.Server.IIS (1)
src\Shared\HttpSys\RequestProcessing\RequestHeaders.Generated.cs (1)
758public StringValues Pragma
Microsoft.AspNetCore.Server.Kestrel.Core (3)
Internal\Http\HttpHeaders.Generated.cs (3)
1408StringValues IHeaderDictionary.Pragma 9571StringValues IHeaderDictionary.Pragma 16518StringValues IHeaderDictionary.Pragma
Microsoft.AspNetCore.Shared.Tests (1)
src\Shared\HttpSys\RequestProcessing\RequestHeaders.Generated.cs (1)
758public StringValues Pragma
14 writes to Pragma
Microsoft.AspNetCore.Antiforgery (2)
Internal\DefaultAntiforgery.cs (2)
387httpContext.Response.Headers.Pragma = "no-cache"; 392httpContext.Response.Headers.Pragma = "no-cache";
Microsoft.AspNetCore.Authentication.Cookies (1)
CookieAuthenticationHandler.cs (1)
419Response.Headers.Pragma = HeaderValueNoCache;
Microsoft.AspNetCore.Authentication.OpenIdConnect (2)
OpenIdConnectHandler.cs (2)
295Response.Headers.Pragma = "no-cache"; 543Response.Headers.Pragma = "no-cache";
Microsoft.AspNetCore.Diagnostics (1)
ExceptionHandler\ExceptionHandlerMiddlewareImpl.cs (1)
257headers.Pragma = "no-cache";
Microsoft.AspNetCore.Diagnostics.HealthChecks (1)
HealthCheckMiddleware.cs (1)
66headers.Pragma = "no-cache";
Microsoft.AspNetCore.Hosting (1)
Internal\ErrorPageBuilder.cs (1)
32context.Response.Headers.Pragma = "no-cache";
Microsoft.AspNetCore.Http.Connections (2)
Internal\HttpConnectionDispatcher.cs (1)
830response.Headers.Pragma = HeaderValueNoCache;
Internal\Transports\ServerSentEventsServerTransport.cs (1)
35context.Response.Headers.Pragma = "no-cache";
Microsoft.AspNetCore.Mvc.Core (2)
Filters\ResponseCacheFilterExecutor.cs (2)
100headers.Pragma = "no-cache"; 110headers.Pragma = "no-cache";
Microsoft.AspNetCore.OutputCaching.Tests (1)
OutputCachePolicyProviderTests.cs (1)
116context.HttpContext.Request.Headers.Pragma = "no-cache";
Microsoft.AspNetCore.Session (1)
SessionMiddleware.cs (1)
148responseHeaders.Pragma = "no-cache";
8 references to Pragma
Microsoft.AspNetCore.Antiforgery.Test (3)
DefaultAntiforgeryTest.cs (3)
312Assert.Equal("no-cache", context.HttpContext.Response.Headers.Pragma); 343Assert.Equal("no-cache", context.HttpContext.Response.Headers.Pragma); 505Assert.Equal("no-cache", context.HttpContext.Response.Headers.Pragma);
Microsoft.AspNetCore.Http.Connections.Tests (1)
HttpConnectionDispatcherTests.cs (1)
3794Assert.Equal("no-cache", response.Headers.Pragma);
Microsoft.AspNetCore.OutputCaching.Tests (1)
OutputCacheTests.cs (1)
889var builders = TestUtils.CreateBuildersWithOutputCaching(contextAction: context => context.Response.Headers.Vary = context.Request.Headers.Pragma);
Microsoft.AspNetCore.ResponseCaching (1)
ResponseCachingPolicyProvider.cs (1)
50if (HeaderUtilities.ContainsCacheDirective(requestHeaders.Pragma, CacheControlHeaderValue.NoCacheString))
Microsoft.AspNetCore.ResponseCaching.Tests (2)
ResponseCachingTests.cs (2)
848var builders = TestUtils.CreateBuildersWithResponseCaching(contextAction: context => context.Response.Headers.Vary = context.Request.Headers.Pragma); 883var builders = TestUtils.CreateBuildersWithResponseCaching(contextAction: context => context.Response.Headers.Vary = context.Request.Headers.Pragma);