views:

53

answers:

1

I am running a website using IIS6 and i wrote a simple generic handler which return smaller images when it receive image url as query string. My problem is that the server is applying gzip to some file types such as .aspx and .ashx.
And that made my response image from the handler appear with lower quality because they are compressed.

How can i disable gzip for just this handler file, i hope for a solution without editing the IIS.

Is that possible?

A: 

This SO answer seems to be almost exactly the same as your scenario.

In the answer is this link discussing how to do a folder based on/off compression scenario.

There is also this link that discusses this near the bottom of the article.

You should be able to do it by editing the metabase yourself or via adutils.vbs.

klabranche