[issue14044] IncompleteRead error with urllib2 or urllib.request -- fine with urllib, wget, or curl

CJ Kucera report at bugs.python.org
Sun Feb 12 16:40:30 EST 2017


CJ Kucera added the comment:

Ah, well, actually I suppose I'll rescind that a bit - other pages about this bug around the internet had been claiming that the 'requests' module uses urllib in the backend and was subject to this bug as well, but after experimenting myself, it seems like if that IS the case, they're working around it somehow, because using requests makes this succeed 100% of the time.  I probably should've tried that first!

So anyway, there's a reasonable workaround, at least.  Sorry for the bugspam!

----------

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


More information about the Python-bugs-list mailing list