Closed GoogleCodeExporter closed 8 years ago
I just discovered exactly this problem. I can confirm uggedal's report, and
that the
suggested fix solves the problem..
In my case, it occurs when I did a HEAD request for a nonexistent file stored in
Amazon S3. (My Python is 2.4.4) That request returned an httplib.HTTPResponse
instance with "'chunked':1" and "'fp': <httplib.SSLFile instance at 0x108bda4c>"
atts. These caused a call to httplib "_read_chunked()", which choked trying to
read
the body. My server took longer (3 minutes) to give up.
~ Thanks
~ Ken
P.S. As a newcomer to messing with the code of products like httplib2, I'm
wondering
what advice people have about what to do when the system I'm building gets
installed
in a new environment and/or when a new version of httplib2 comes out if it
fails to
include this fix? Is there anything better than just trying to remember all the
things like this I have done, so I can redo them when necessary?
Original comment by kenatsun@gmail.com
on 10 Jun 2009 at 11:15
This issue was closed by a415e1667b.
Original comment by joe.gregorio@gmail.com
on 16 Jul 2009 at 4:28
Fixed in trunk.
Original comment by joe.gregorio@gmail.com
on 16 Jul 2009 at 4:28
Original issue reported on code.google.com by
ugge...@gmail.com
on 28 May 2009 at 11:33