Skip to content

Commit c0d8694

Browse files
Copilotjaviercn
andcommitted
Fix Vary header in Static Web Assets compression negotiation from Content-Encoding to Accept-Encoding
Co-authored-by: javiercn <[email protected]>
1 parent 230fa2a commit c0d8694

File tree

71 files changed

+6479
-6479
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

71 files changed

+6479
-6479
lines changed

src/StaticWebAssetsSdk/Tasks/ApplyCompressionNegotiation.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ private static StaticWebAssetEndpointResponseHeader[] CreateCompressionHeaders(S
191191
new()
192192
{
193193
Name = "Vary",
194-
Value = "Content-Encoding"
194+
Value = "Accept-Encoding"
195195
}
196196
];
197197

0 commit comments

Comments
 (0)