2 references to SetVaryByHeader
Microsoft.AspNetCore.OutputCaching.Tests (2)
OutputCachePolicyBuilderTests.cs (1)
111
var policy = builder.
SetVaryByHeader
("HeaderA", "HeaderC").Build();
OutputCacheTests.cs (1)
329
options.AddBasePolicy(b => b.
SetVaryByHeader
(HeaderNames.From).Build());