[issue21896] Unexpected ConnectionResetError in urllib.request against a valid website

2015-01-11 Thread Ned Deily
Ned Deily added the comment: So it does. Thanks, Martin. -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___ _

[issue21896] Unexpected ConnectionResetError in urllib.request against a valid website

2015-01-11 Thread Martin Panter
Martin Panter added the comment: Not a Python bug. The web site seems to be doing this based on the user agent; if you change it, it works: urlopen(Request("http://www.thomsonlocal.com/";, headers={"User-Agent": "https://bugs.python.org/issue21896"})) -- nosy: +vadmium type: crash ->

[issue21896] Unexpected ConnectionResetError in urllib.request against a valid website

2014-07-02 Thread Ned Deily
Ned Deily added the comment: It fails with Python 2's urllib2.urlopen as well. -- nosy: +ned.deily, orsenthil versions: +Python 2.7, Python 3.5 -Python 3.2, Python 3.3 ___ Python tracker ___

[issue21896] Unexpected ConnectionResetError in urllib.request against a valid website

2014-07-02 Thread Tymoteusz Paul
Changes by Tymoteusz Paul : -- versions: +Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue21896] Unexpected ConnectionResetError in urllib.request against a valid website

2014-07-01 Thread R. David Murray
Changes by R. David Murray : -- nosy: +r.david.murray ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue21896] Unexpected ConnectionResetError in urllib.request against a valid website

2014-07-01 Thread Tymoteusz Paul
New submission from Tymoteusz Paul: I've recently ran into a problem with urellib.request.urlopen that it fails against one website (that I've found so far). The website itself is working fine, I can access its content with other libraries like requests, curl and outside of python with telnet,