A zlib question

Roland Hedberg roland at catalogix.se
Fri Jul 10 11:33:25 CEST 2009


I have a problem with zlib and compressing/decompressing according to  
RFC 1951.

It seems like I can decompress, something compressed according to RFC  
1951 by someone else, provided I set wbits to something negative (used  
-8 but I guess any negative number would work?).

But how can I compress using zlib so it doesn't add a gzip header ?

-- Roland 

More information about the Python-list mailing list