From: Senthil Kumaran Date: Wed, 14 Jul 2010 19:15:23 +0000 (+0000) Subject: Fix: Issue6853 - Get HTTPS system proxy in Windows. X-Git-Tag: v3.2a1~192 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e4004a653cd088dbf820a3535fbd8dd4d13727bd;p=thirdparty%2FPython%2Fcpython.git Fix: Issue6853 - Get HTTPS system proxy in Windows. --- diff --git a/Lib/urllib/request.py b/Lib/urllib/request.py index c6767d0b2660..a2b439cb6e0a 100644 --- a/Lib/urllib/request.py +++ b/Lib/urllib/request.py @@ -2279,6 +2279,7 @@ elif os.name == 'nt': proxies['http'] = proxyServer else: proxies['http'] = 'http://%s' % proxyServer + proxies['https'] = 'http://%s' % proxyServer proxies['ftp'] = 'ftp://%s' % proxyServer internetSettings.Close() except (WindowsError, ValueError, TypeError):