compress problem with Response.Write

May 12, 2010 at 3:17 PM
There is a aspx page where I use Response.Write to show XML. The content itself is compressed by gzip automatically, but the headers don't contain "Content-Encoding gzip". When I add Response.AppendHeader("Content-Encoding", "gzip"); It works fine. Is there a workaround or is there a way to retrieve if the content is compressed and how (gzip, deflate) so I can add the right content-encoding to the headers.
Oct 12, 2010 at 8:51 AM

Can you supply me a working example project with the problem ?

Oct 12, 2010 at 10:38 AM
I'm sorry, but after 5 months I don't know anymore what it was about. I'll let you know if I remember it.


Op 12/10/2010 9:51, miron schreef:

From: miron

Can you supply me a working example project with the problem ?