Question regarding isapi filter / compression

Hi list,

I'm not sure if this is the right list to ask this question, so if I'm in
the wrong place please point me to the right one.

I'm developing a compression filter in ISAPI for some special case where
regular compression filters don't apply. I managed to look at the client
headers to figure out if it wants compression and sent a header back to
tell it that I will compress. I use zlib (www.gzip.org/zlib) for
compression and, according to the website, I use and propagate using the
deflate method. The problem is that the client doesn't understand my answer
completely and displays the raw compressed content on the screen.
Here is an example of what I send to the client:

HTTP/1.1 200 OK
Server: Microsoft-IIS/5.0
Date: Wed, 22 Oct 2003 07:49:20 GMT
Content-Type: text/html
Accept-Ranges: bytes
Last-Modified: Wed, 22 Oct 2003 07:33:32 GMT
ETag: "06e3bcb6e98c31:15ec"
Content-Length: 44
Content-Encoding: deflate

xœ³É(Éͱãåâ´IÊO©18KR‹K@úP}¨


Can anybody see any cause for my problem? Am I using the wrong method
(deflate) or the wrong library (zlib)? Are my headers OK?


Grtz,

Wim Fournier
wim@hsmade.[com|net|org]

Received on Wednesday, 22 October 2003 04:10:20 UTC