_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
Original issue reported on code.google.com by
leonard....@gmail.com
on 27 Aug 2008 at 4:00