Can't set HTTP Vary header in ASP.NET/IIS7 classic mode
问题 First, a little background. I have written a custom HTTP compression module for ASP.NET. My development machine has Windows 7 Ultimate, which comes with IIS7. My production environment uses IIS6. The problem I'm having is, Resource Expert Droid (redbot.org) tells me that I need to add a header to my response to properly support compression: "Vary: Accept-Encoding" On IIS7 in integrated mode, it works properly. However, in classic mode, which is how my application ultimately runs, I cannot get