Duplicate response headers with same values in IIS 8

42 Views Asked by At

We are using IIS 8 for serving static contents and angular UI code for our website. Added some custom headers in web.config recently for security vulnerability fixes. After this change , each custom header that is added is coming 2 times in the response headers.

<httpProtocol>
   <customHeaders>
       <add name="X-Content-Type-Options" value="nosniff"/>
   </customHeaders>
</httpProtocol>

This issue we are facing only for one request where we are loading home page (index.html> Can any one help me how to address this one?

I am not sure on what to try for fixing this because the headers are specified in only one place - that is in web.config file.

0

There are 0 best solutions below