60 references to Expires
CodeGenerator (1)
src\Servers\Kestrel\shared\KnownHeaders.cs (1)
237HeaderNames.Expires,
Microsoft.AspNetCore.Diagnostics.HealthChecks.Tests (2)
HealthCheckMiddlewareTests.cs (2)
434Assert.Equal(new string[] { "Thu, 01 Jan 1970 00:00:00 GMT" }, response.Content.Headers.GetValues(HeaderNames.Expires)); 469Assert.False(response.Content.Headers.Contains(HeaderNames.Expires));
Microsoft.AspNetCore.Http.Extensions (4)
RequestHeaders.cs (2)
203return Headers.GetDate(HeaderNames.Expires); 207Headers.SetDate(HeaderNames.Expires, value);
ResponseHeaders.cs (2)
143return Headers.GetDate(HeaderNames.Expires); 147Headers.SetDate(HeaderNames.Expires, value);
Microsoft.AspNetCore.Http.Features (2)
IHeaderDictionary.Keyed.cs (2)
110StringValues Expires { get => this[HeaderNames.Expires]; set => this[HeaderNames.Expires] = value; }
Microsoft.AspNetCore.HttpLogging (1)
HttpLoggingOptions.cs (1)
85HeaderNames.Expires,
Microsoft.AspNetCore.OutputCaching (1)
OutputCacheEntryFormatter.cs (1)
432HeaderNames.Expires,
Microsoft.AspNetCore.ResponseCaching.Tests (3)
ResponseCachingPolicyProviderTests.cs (3)
530context.CachedResponseHeaders[HeaderNames.Expires] = HeaderUtilities.FormatDate(utcNow); 595context.CachedResponseHeaders[HeaderNames.Expires] = HeaderUtilities.FormatDate(utcNow); 616context.CachedResponseHeaders[HeaderNames.Expires] = HeaderUtilities.FormatDate(utcNow);
Microsoft.AspNetCore.Server.HttpSys (10)
RequestProcessing\RequestContext.FeatureCollection.cs (1)
700if (HeaderUtilities.TryParseDate(response.Headers[HeaderNames.Expires].ToString(), out expirationDate))
src\Shared\HttpSys\NativeInterop\HttpApiTypes.cs (1)
42HeaderNames.Expires,
src\Shared\HttpSys\RequestProcessing\HeaderCollection.cs (1)
39HeaderNames.Age, HeaderNames.Expires, HeaderNames.Date, HeaderNames.Location, HeaderNames.RetryAfter, HeaderNames.Vary, HeaderNames.Warning,
src\Shared\HttpSys\RequestProcessing\RequestHeaders.Generated.cs (7)
1105if (string.Equals(key, HeaderNames.Expires, StringComparison.OrdinalIgnoreCase)) 1322if (string.Equals(key, HeaderNames.Expires, StringComparison.OrdinalIgnoreCase)) 1570if (string.Equals(key, HeaderNames.Expires, StringComparison.OrdinalIgnoreCase)) 1872if (string.Equals(key, HeaderNames.Expires, StringComparison.Ordinal)) 2275yield return HeaderNames.Expires; 2611yield return new KeyValuePair<string, StringValues>(HeaderNames.Expires, Expires); 2768HttpSysRequestHeader.Expires => HeaderNames.Expires,
Microsoft.AspNetCore.Server.IIS (9)
src\Shared\HttpSys\NativeInterop\HttpApiTypes.cs (1)
42HeaderNames.Expires,
src\Shared\HttpSys\RequestProcessing\HeaderCollection.cs (1)
39HeaderNames.Age, HeaderNames.Expires, HeaderNames.Date, HeaderNames.Location, HeaderNames.RetryAfter, HeaderNames.Vary, HeaderNames.Warning,
src\Shared\HttpSys\RequestProcessing\RequestHeaders.Generated.cs (7)
1105if (string.Equals(key, HeaderNames.Expires, StringComparison.OrdinalIgnoreCase)) 1322if (string.Equals(key, HeaderNames.Expires, StringComparison.OrdinalIgnoreCase)) 1570if (string.Equals(key, HeaderNames.Expires, StringComparison.OrdinalIgnoreCase)) 1872if (string.Equals(key, HeaderNames.Expires, StringComparison.Ordinal)) 2275yield return HeaderNames.Expires; 2611yield return new KeyValuePair<string, StringValues>(HeaderNames.Expires, Expires); 2768HttpSysRequestHeader.Expires => HeaderNames.Expires,
Microsoft.AspNetCore.Server.Kestrel.Core (17)
Internal\Http\HttpHeaders.Generated.cs (17)
319HeaderNames.Expires, 2129if (!TryGetUnknown(HeaderNames.Expires, ref value)) 2138SetValueUnknown(HeaderNames.Expires, value); 9444ValidateHeaderValueCharacters(HeaderNames.Expires, value, EncodingSelector); 11055if (ReferenceEquals(HeaderNames.Expires, key)) 11101if (HeaderNames.Expires.Equals(key, StringComparison.OrdinalIgnoreCase)) 11816if (ReferenceEquals(HeaderNames.Expires, key)) 11848if (HeaderNames.Expires.Equals(key, StringComparison.OrdinalIgnoreCase)) 12465if (ReferenceEquals(HeaderNames.Expires, key)) 12517if (HeaderNames.Expires.Equals(key, StringComparison.OrdinalIgnoreCase)) 13357if (ReferenceEquals(HeaderNames.Expires, key)) 13409if (HeaderNames.Expires.Equals(key, StringComparison.OrdinalIgnoreCase)) 14643array[arrayIndex] = new KeyValuePair<string, StringValues>(HeaderNames.Expires, _headers._Expires); 15380_current = new KeyValuePair<string, StringValues>(HeaderNames.Expires, _collection._headers._Expires); 16199if (!TryGetUnknown(HeaderNames.Expires, ref value)) 16208ValidateHeaderValueCharacters(HeaderNames.Expires, value, EncodingSelector); 16209SetValueUnknown(HeaderNames.Expires, value);
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (1)
src\Servers\Kestrel\shared\KnownHeaders.cs (1)
237HeaderNames.Expires,
Microsoft.AspNetCore.Shared.Tests (9)
src\Shared\HttpSys\NativeInterop\HttpApiTypes.cs (1)
42HeaderNames.Expires,
src\Shared\HttpSys\RequestProcessing\HeaderCollection.cs (1)
39HeaderNames.Age, HeaderNames.Expires, HeaderNames.Date, HeaderNames.Location, HeaderNames.RetryAfter, HeaderNames.Vary, HeaderNames.Warning,
src\Shared\HttpSys\RequestProcessing\RequestHeaders.Generated.cs (7)
1105if (string.Equals(key, HeaderNames.Expires, StringComparison.OrdinalIgnoreCase)) 1322if (string.Equals(key, HeaderNames.Expires, StringComparison.OrdinalIgnoreCase)) 1570if (string.Equals(key, HeaderNames.Expires, StringComparison.OrdinalIgnoreCase)) 1872if (string.Equals(key, HeaderNames.Expires, StringComparison.Ordinal)) 2275yield return HeaderNames.Expires; 2611yield return new KeyValuePair<string, StringValues>(HeaderNames.Expires, Expires); 2768HttpSysRequestHeader.Expires => HeaderNames.Expires,