6 implementations of Expires
Microsoft.AspNetCore.Server.HttpSys (1)
src\Shared\HttpSys\RequestProcessing\RequestHeaders.Generated.cs (1)
494public StringValues Expires
Microsoft.AspNetCore.Server.IIS (1)
src\Shared\HttpSys\RequestProcessing\RequestHeaders.Generated.cs (1)
494public StringValues Expires
Microsoft.AspNetCore.Server.Kestrel.Core (3)
Internal\Http\HttpHeaders.Generated.cs (3)
2124StringValues IHeaderDictionary.Expires 9426StringValues IHeaderDictionary.Expires 16194StringValues IHeaderDictionary.Expires
Microsoft.AspNetCore.Shared.Tests (1)
src\Shared\HttpSys\RequestProcessing\RequestHeaders.Generated.cs (1)
494public StringValues Expires
15 writes to Expires
Microsoft.AspNetCore.Authentication.Cookies (1)
CookieAuthenticationHandler.cs (1)
420Response.Headers.Expires = HeaderValueEpocDate;
Microsoft.AspNetCore.Authentication.OpenIdConnect (2)
OpenIdConnectHandler.cs (2)
296Response.Headers.Expires = HeaderValueEpocDate; 544Response.Headers.Expires = HeaderValueEpocDate;
Microsoft.AspNetCore.Diagnostics (1)
ExceptionHandler\ExceptionHandlerMiddlewareImpl.cs (1)
258headers.Expires = "-1";
Microsoft.AspNetCore.Diagnostics.HealthChecks (1)
HealthCheckMiddleware.cs (1)
67headers.Expires = "Thu, 01 Jan 1970 00:00:00 GMT";
Microsoft.AspNetCore.Http.Connections (1)
Internal\HttpConnectionDispatcher.cs (1)
831response.Headers.Expires = HeaderValueEpochDate;
Microsoft.AspNetCore.OutputCaching.Tests (4)
OutputCacheMiddlewareTests.cs (3)
433context.HttpContext.Response.Headers.Expires = HeaderUtilities.FormatDate(timeProvider.GetUtcNow() + TimeSpan.FromSeconds(11)); 461context.HttpContext.Response.Headers.Expires = HeaderUtilities.FormatDate(timeProvider.GetUtcNow() + TimeSpan.FromSeconds(11)); 487context.HttpContext.Response.Headers.Expires = HeaderUtilities.FormatDate(timeProvider.GetUtcNow() + TimeSpan.FromSeconds(11));
OutputCachePolicyProviderTests.cs (1)
361context.HttpContext.Response.Headers.Expires = HeaderUtilities.FormatDate(utcNow);
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (4)
HeaderCollectionBenchmark.cs (1)
158headers.Expires = "Fri, 12 Jan 2018 22:01:55 GMT";
Http2\HPackHeaderWriterBenchmark.cs (1)
41knownHeaders.Expires = "Expires!";
ResponseHeaderCollectionBenchmark.cs (1)
126headers.Expires = "Fri, 12 Jan 2018 22:01:55 GMT";
ResponseHeadersWritingBenchmark.cs (1)
123responseHeaders.Expires = "Fri, 12 Jan 2018 22:01:55 GMT";
Microsoft.AspNetCore.Session (1)
SessionMiddleware.cs (1)
149responseHeaders.Expires = "-1";
4 references to Expires
Microsoft.AspNetCore.Http.Connections.Tests (1)
HttpConnectionDispatcherTests.cs (1)
3795Assert.Equal("Thu, 01 Jan 1970 00:00:00 GMT", response.Headers.Expires);
Microsoft.AspNetCore.ResponseCaching (2)
ResponseCachingContext.cs (1)
92if (HeaderUtilities.TryParseDate(HttpContext.Response.Headers.Expires.ToString(), out expires))
ResponseCachingPolicyProvider.cs (1)
234if (HeaderUtilities.TryParseDate(context.CachedResponseHeaders.Expires.ToString(), out expires) &&
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (1)
HeaderCollectionBenchmark.cs (1)
277value = headers.Expires;