views:

108

answers:

0

I have html files that are pre-compressed on the server using zlib and it appears zlib adds the appropriate headers to the compressed html files:

static int const gz_magic[2] = {0x1f, 0x8b}; /* gzip magic header */ (from gzio.c)

The browser (FF) supports Accept-Encoding: gzip,deflate
However, it doesn't display the html.

I am using the GoAhead embedded web server. Do I have to configure anything in addition here or should this set-up be working?