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
Ricordisamoa added a subscriber: Ricordisamoa.
TASK DETAIL
https://phabricator.wikimedia.org/T74733
REPLY HANDLER ACTIONS
Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
To: Ricordisamoa
Cc: pywikipedia-bugs, jayvdb, Ricordisamoa
Ricordisamoa added a subscriber: Ricordisamoa.
TASK DETAIL
https://phabricator.wikimedia.org/T74801
REPLY HANDLER ACTIONS
Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
To: Ricordisamoa
Cc: pywikipedia-bugs, jayvdb, Ricordisamoa
Ricordisamoa added a comment.
Does this apply on core too?
TASK DETAIL
https://phabricator.wikimedia.org/T57201
REPLY HANDLER ACTIONS
Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
To: jayvdb, Ricordisamoa
Cc: pywikipedia-bugs, Legoktm, valhallasw, Ricordisamoa, jayvdb, Xqt
jayvdb added a comment.
Some examples of what it would have been picked up:
T75628 T75027 T75025 T75026 T75019 T75023 T75017
However pylint doesnt pick up this: (as it cant determine what type self.site is):
T78107
TASK DETAIL
https://phabricator.wikimedia.org/T74697
REPLY HANDLER ACTIONS
Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
To: jayvdb
Cc: pywikipedia-bugs, hashar, jayvdb