jenkins-bot has submitted this change and it was merged.
Change subject: (bug 58548) use proxy also for https connections ......................................................................
(bug 58548) use proxy also for https connections
Change-Id: I7b5958d56563bd7563c86e0dbd982613cc276ed3 --- M wikipedia.py 1 file changed, 2 insertions(+), 2 deletions(-)
Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
diff --git a/wikipedia.py b/wikipedia.py index 7c6feec..be63862 100644 --- a/wikipedia.py +++ b/wikipedia.py @@ -10428,8 +10428,8 @@ MyURLopener = urllib2.build_opener(U2RedirectHandler)
if config.proxy['host']: - proxyHandler = urllib2.ProxyHandler({'http': 'http://%s/' - % config.proxy['host']}) + proxyHandler = urllib2.ProxyHandler({'http': 'http://%s/' % config.proxy['host'], + 'https': 'https://%s' % config.proxy['host']})
MyURLopener.add_handler(proxyHandler) if config.proxy['auth']: