6 references to FormatDate
Microsoft.AspNetCore.Http.Extensions (1)
HeaderDictionaryTypeExtensions.cs (1)
127headers[name] = HeaderUtilities.FormatDate(value.GetValueOrDefault());
Microsoft.AspNetCore.OutputCaching (1)
OutputCacheMiddleware.cs (1)
401headers.Date = HeaderUtilities.FormatDate(context.ResponseTime!.Value);
Microsoft.AspNetCore.ResponseCaching (1)
ResponseCachingMiddleware.cs (1)
338headers.Date = HeaderUtilities.FormatDate(context.ResponseDate.Value);
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\Http\DateHeaderValueManager.cs (1)
46var dateValue = HeaderUtilities.FormatDate(value);
Microsoft.Net.Http.Headers (2)
RangeConditionHeaderValue.cs (1)
76return HeaderUtilities.FormatDate(_lastModified.GetValueOrDefault());
SetCookieHeaderValue.cs (1)
345AppendSegment(builder, ExpiresToken, HeaderUtilities.FormatDate(Expires.GetValueOrDefault()));