[issue14044] IncompleteRead error with urllib2 or urllib.request -- fine with urllib, wget, or curl
Laurento Frittella
report at bugs.python.org
Wed Jan 15 16:24:43 CET 2014
Laurento Frittella added the comment:
I had the same problem using urllib2 and the following trick worked for me
import httplib
httplib.HTTPConnection._http_vsn = 10
httplib.HTTPConnection._http_vsn_str = 'HTTP/1.0'
Source: http://stackoverflow.com/a/20645845
----------
nosy: +laurento.frittella
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14044>
_______________________________________
More information about the Python-bugs-list
mailing list