6 implementations of Date
Microsoft.AspNetCore.Server.HttpSys (1)
src\Shared\HttpSys\RequestProcessing\RequestHeaders.Generated.cs (1)
446public StringValues Date
Microsoft.AspNetCore.Server.IIS (1)
src\Shared\HttpSys\RequestProcessing\RequestHeaders.Generated.cs (1)
446public StringValues Date
Microsoft.AspNetCore.Server.Kestrel.Core (3)
Internal\Http\HttpHeaders.Generated.cs (3)
1016StringValues IHeaderDictionary.Date 8872StringValues IHeaderDictionary.Date 16176StringValues IHeaderDictionary.Date
Microsoft.AspNetCore.Shared.Tests (1)
src\Shared\HttpSys\RequestProcessing\RequestHeaders.Generated.cs (1)
446public StringValues Date
14 writes to Date
Microsoft.AspNetCore.OutputCaching.Tests (4)
OutputCacheMiddlewareTests.cs (1)
562context.HttpContext.Response.Headers.Date = HeaderUtilities.FormatDate(utcNow);
OutputCachePolicyProviderTests.cs (3)
339context.HttpContext.Response.Headers.Date = HeaderUtilities.FormatDate(utcNow); 362context.HttpContext.Response.Headers.Date = HeaderUtilities.FormatDate(utcNow); 385context.HttpContext.Response.Headers.Date = HeaderUtilities.FormatDate(utcNow);
Microsoft.AspNetCore.ResponseCaching (1)
ResponseCachingMiddleware.cs (1)
301headers.Date = HeaderUtilities.FormatDate(context.ResponseDate.Value);
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (6)
Http2\Http2HeadersEnumeratorTests.cs (1)
26responseHeaders.Date = "Date!";
Http2\Http2HPackEncoderTests.cs (4)
67headers.Date = "Mon, 21 Oct 2013 20:13:21 GMT"; 154headers.Date = "Mon, 21 Oct 2013 20:13:22 GMT"; 211headers.Date = "Mon, 21 Oct 2013 20:13:21 GMT"; 298headers.Date = "Mon, 21 Oct 2013 20:13:22 GMT";
Http3\Http3HeadersEnumeratorTests.cs (1)
26responseHeaders.Date = "Date!";
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (3)
Http2\HPackHeaderWriterBenchmark.cs (1)
33knownHeaders.Date = "Date!";
Http2\Http2HeadersEnumeratorBenchmark.cs (2)
27_knownSingleValueResponseHeaders.Date = "Value"; 34_knownMultipleValueResponseHeaders.Date = new StringValues(new[] { "One", "Two" });
9 references to Date
Microsoft.AspNetCore.OutputCaching.Tests (4)
OutputCacheMiddlewareTests.cs (4)
543Assert.True(StringValues.IsNullOrEmpty(context.HttpContext.Response.Headers.Date)); 547Assert.Equal(HeaderUtilities.FormatDate(utcNow), context.HttpContext.Response.Headers.Date); 565Assert.Equal(HeaderUtilities.FormatDate(utcNow), context.HttpContext.Response.Headers.Date); 569Assert.Equal(HeaderUtilities.FormatDate(responseTime), context.HttpContext.Response.Headers.Date);
Microsoft.AspNetCore.ResponseCaching (2)
ResponseCachingContext.cs (1)
65if (HeaderUtilities.TryParseDate(HttpContext.Response.Headers.Date.ToString(), out date))
ResponseCachingMiddleware.cs (1)
464!HeaderUtilities.TryParseDate(cachedResponseHeaders.Date.ToString(), out modified))
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (3)
HeaderCollectionBenchmark.cs (3)
247var value = headers.Date; 269var value = headers.Date; 307value = headers.Date;