7 writes to VaryByHeader
Microsoft.AspNetCore.Mvc.Core (1)
ResponseCacheAttribute.cs (1)
104VaryByHeader = VaryByHeader ?? selectedProfile?.VaryByHeader;
Microsoft.AspNetCore.Mvc.Core.Test (5)
ResponseCacheAttributeTest.cs (5)
66{ Duration = 20, Location = ResponseCacheLocation.Any, NoStore = false, VaryByHeader = "Accept", VaryByQueryKeys = new[] { "QueryKey" } }, 74{ Duration = 0, Location = ResponseCacheLocation.None, NoStore = true, VaryByHeader = null, VaryByQueryKeys = null }, 88VaryByHeader = "Accept", 208VaryByHeader = "Accept", 307VaryByHeader = "Accept"
Microsoft.AspNetCore.Mvc.RazorPages.Test (1)
ApplicationModels\ResponseCacheFilterApplicationModelProviderTest.cs (1)
86[ResponseCache(Duration = 12, NoStore = true, VaryByHeader = "Abc")]
2 references to VaryByHeader
Microsoft.AspNetCore.Mvc.Core (2)
ResponseCacheAttribute.cs (2)
104VaryByHeader = VaryByHeader ?? selectedProfile?.VaryByHeader; 112VaryByHeader = VaryByHeader,