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 <rep...@bugs.python.org> <http://bugs.python.org/issue15633> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com