Created
November 16, 2012 15:41
-
-
Save hereswhatidid/4088320 to your computer and use it in GitHub Desktop.
IIS config file for setting a Vary: Accept-Encoding header
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<system.webServer> | |
<httpProtocol> | |
<customHeaders> | |
<remove name="Vary"></remove> | |
<add name="Vary" value="Accept-Encoding"></add> | |
</customHeaders> | |
</httpProtocol> | |
</system.webServer> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@Sahil1992 this file is placed at your project root as web.config. do the changes as above