gesomax / httplib2

Automatically exported from code.google.com/p/httplib2
0 stars 0 forks source link

httplib2 asks for "compress" encoding that it can't handle #34

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
_decompress_content handles the content encodings "gzip" and "deflate". But
Http.request() sets Accept-Encoding to "compress, gzip". If a server
actually sent data encoded with "compress", httplib2 wouldn't decompress
it. And httplib never asks for "deflate".

This looks to be just a typo. Changing "compress" to "deflate" in
Http.request() should fix it.

Original issue reported on code.google.com by leonard....@gmail.com on 27 Aug 2008 at 4:00

GoogleCodeExporter commented 8 years ago
Fixed in trunk now.

Original comment by joe.gregorio@gmail.com on 7 Sep 2008 at 10:01