Disable Cache-Control Header field in custom ASP.NET HttpHandler response
问题 How can I completely supress the output of the Cache-Control Header that is returned by my custom HttpHandler in ASP.NET? I know, I can change the header field by modifying response.Cache and response.Cache.SetCacheability, but that will only change the header field, not remove it. That is not what I want. I completely want to make no assumptions about the Cache-Control field and leave it up to the browsers policy. EDIT: The same holds true for HttpResponse.Charset. If no charset is set, ASP