[issue15633] httplib.response is not closed after all data has been read

Nikolaus Rath report at bugs.python.org
Sun Feb 3 04:39:05 CET 2013


Nikolaus Rath added the comment:

On 01/29/2013 11:23 PM, Antoine Pitrou wrote:
> "length: 9369540" indicates you haven't read the whole advertised Content-Length. Is it possible the server shuts down the TCP connection even before the whole Content-Length has been sent?

The remote server isn't under my control, so I can't say for sure. But I
guess the connection could be terminated prematurely for quite a number
of reasons, so if that causes trouble for httplib then this might well
be the problem.

Best,

   -Nikolaus

-- 
 »Time flies like an arrow, fruit flies like a Banana.«

  PGP fingerprint: 5B93 61F8 4EA2 E279 ABF6  02CF A9AD B7F8 AE4E 425C

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15633>
_______________________________________


More information about the Python-bugs-list mailing list