Deflate with urllib2...

Gabriel Genellina gagsl-py2 at yahoo.com.ar
Fri Sep 19 06:48:27 EDT 2008


En Thu, 18 Sep 2008 23:29:30 -0300, Sam <samslists at gmail.com> escribió:
> On Sep 18, 2:10 pm, "Gabriel Genellina" <gagsl-... at yahoo.com.ar>
> wrote:
>> En Tue, 16 Sep 2008 21:58:31 -0300, Sam <samsli... at gmail.com> escribió:
>> The code is correct - try with another server. I tested it with a  
>> LightHTTPd server and worked fine.
>
> Gabriel...
>
> I found a bunch of servers to test it on.  It fails on every server I
> could find (sans one).

I'll try to check later. Anyway, why are you so interested in deflate?  
Both "deflate" and "gzip" coding use the same algorithm and generate  
exactly the same compressed stream, the only difference being the header  
and tail format. Have you found any server supporting deflate that doesn't  
support gzip as well?

-- 
Gabriel Genellina




More information about the Python-list mailing list