Deflate with urllib2...

Sam samslists at gmail.com
Sat Sep 20 05:45:59 CEST 2008


Gabriel...

Awesome!  Thank you so much for the solution.

And yeah, I found exactly one website that strangely enough only does
deflate, not gzip.  I'd rather not say what website it is, since it's
small and not mine.  They may be few and in between, but they do
exist.

Thanks


On Sep 19, 3:48 am, "Gabriel Genellina" <gagsl-... at yahoo.com.ar>
wrote:
> En Thu, 18 Sep 2008 23:29:30 -0300, Sam <samsli... 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