Laurento Frittella added the comment:
Even if forcing the HTTP/1.0 workaround works it can end up in weird issues,
especially if used in something more than a small script, like the one I tried
to describe in this issue report[1] for the requests python library.
[1] https://github.com
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