W3C home > Mailing lists > Public > www-talk@w3.org > September to October 2003

Question regarding isapi filter / compression

From: Wim Fournier <wim@hsmade.com>
Date: Wed, 22 Oct 2003 10:10:22 +0200 (CEST)
Message-ID: <22490.>
To: <www-talk@w3.org>

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


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


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

This archive was generated by hypermail 2.4.0 : Monday, 20 January 2020 16:08:27 UTC