2 writes to Headers
Microsoft.AspNetCore.ResponseCaching (2)
MemoryResponseCache.cs (1)
27
Headers
= memoryCachedResponse.Headers,
ResponseCachingMiddleware.cs (1)
309
Headers
= new HeaderDictionary()
7 references to Headers
Microsoft.AspNetCore.ResponseCaching (7)
CacheEntry\CacheEntryHelpers.cs (2)
23
if (cachedResponse.
Headers
!= null)
25
foreach (var item in cachedResponse.
Headers
)
MemoryResponseCache.cs (1)
47
Headers = cachedResponse.
Headers
,
ResponseCachingMiddleware.cs (4)
144
context.CachedResponseHeaders = cachedResponse.
Headers
;
173
foreach (var header in context.CachedResponse.
Headers
)
316
context.CachedResponse.
Headers
[header.Key] = header.Value;
349
context.CachedResponse.
Headers
.ContentLength = cachedResponseBody.Length;