A zlib question

Roland Hedberg roland at catalogix.se
Fri Jul 10 05:33:25 EDT 2009


Hi!

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