gesomax / httplib2

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

HEAD Content-Length #2

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
HEAD responses are always returned with a content-length of zero, which is
wrong, and not helpful for some of the use cases for HEAD.

Original issue reported on code.google.com by joe.gregorio@gmail.com on 31 Jul 2007 at 1:12

GoogleCodeExporter commented 8 years ago
This was happening when a HEAD response came back with a content-encoding 
header and
httplib2 tried to unencode the body. Fixed by adding a test so that only 
non-HEAD
requests are unencoded.

Original comment by joe.gregorio@gmail.com on 23 Oct 2007 at 2:25

GoogleCodeExporter commented 8 years ago

Original comment by joe.gregorio@gmail.com on 6 Sep 2008 at 4:13