jenkins-bot has submitted this change and it was merged.
Change subject: HTTP basic authorization ......................................................................
HTTP basic authorization
Bug: T89417 Change-Id: I1af61949aa613996df8e9f6e568696428a2e1874 --- M pywikibot/comms/threadedhttp.py 1 file changed, 3 insertions(+), 0 deletions(-)
Approvals: John Vandenberg: Looks good to me, approved Dragan Espenschied: Looks good to me, but someone else must approve jenkins-bot: Verified
diff --git a/pywikibot/comms/threadedhttp.py b/pywikibot/comms/threadedhttp.py index 4cbc0ca..43358ef 100644 --- a/pywikibot/comms/threadedhttp.py +++ b/pywikibot/comms/threadedhttp.py @@ -223,6 +223,9 @@ connection_type), ), _logger) try: + if authority in config.authenticate: + self.add_credentials(*config.authenticate[authority]) + (response, content) = httplib2.Http.request( self, uri, method, body, headers, max_redirects, connection_type
pywikibot-commits@lists.wikimedia.org