jayvdb edited the task description.
jayvdb triaged this task as "Normal" priority.
jayvdb removed a subscriber: Unknown Object (????).
jayvdb set Security to none.
TASK DETAIL
https://phabricator.wikimedia.org/T60941
REPLY HANDLER ACTIONS
Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: jayvdb
Cc: pywikipedia-bugs, valhallasw, Ricordisamoa, jayvdb, Aklapper
jayvdb created this task.
jayvdb claimed this task.
jayvdb added subscribers: jayvdb, valhallasw.
jayvdb added a project: pywikibot-core.
jayvdb changed Security from none to none.
TASK DESCRIPTION
```
>>> http.fetch(uri='http://getstatuscode.com/301')
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib64/python2.7/threading.py", line 811, in __bootstrap_inner
self.run()
File "pywikibot/comms/threadedhttp.py", line 486, in run
item.data = self.http.request(*item.args, **item.kwargs)
File "pywikibot/comms/threadedhttp.py", line 254, in request
uri, method, body, headers, response, content, max_redirects)
File "pywikibot/comms/threadedhttp.py", line 273, in _follow_redirect
response, content)
RedirectMissingLocation: Redirected but the response is missing a Location: header.
```
And the main thread doesnt return.
This exception is thrown by threadedhttp, whereas threadedhttp normally returns the exception to be passed back to the main thread.
TASK DETAIL
https://phabricator.wikimedia.org/T78123
REPLY HANDLER ACTIONS
Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
To: jayvdb
Cc: Aklapper, jayvdb, valhallasw, pywikipedia-bugs