[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: lzlib?
- From: PA <petite.abeille@...>
- Date: Mon, 14 Mar 2005 20:06:24 +0100
I'm trying to use Tiago Dionizio's lzlib library (lzlib-0.2) to
compress some HTTP responses.
lzlib itself seems to work fine, but I'm somewhat at loss on how to
use it properly.
Right now I'm doing the following on the server side:
local zlib = require( "zlib" )
local aCompressedContent = zlib.compress( aContent )
However, when a browser tries to decode such response, I get the
"gzip stream does not have a gzip header"
What am I doing wrong? Do I need to provide additional parameters to
Thanks for any help :)