diff options
author | Senthil Kumaran <orsenthil@gmail.com> | 2010-07-14 19:15:23 (GMT) |
---|---|---|
committer | Senthil Kumaran <orsenthil@gmail.com> | 2010-07-14 19:15:23 (GMT) |
commit | e4004a653cd088dbf820a3535fbd8dd4d13727bd (patch) | |
tree | b20bedaa308eed966347f148de076111f8b86d86 /Lib/urllib | |
parent | 4988d7a3754751979e0935800bce6e642aa37430 (diff) | |
download | cpython-e4004a653cd088dbf820a3535fbd8dd4d13727bd.zip cpython-e4004a653cd088dbf820a3535fbd8dd4d13727bd.tar.gz cpython-e4004a653cd088dbf820a3535fbd8dd4d13727bd.tar.bz2 |
Fix: Issue6853 - Get HTTPS system proxy in Windows.
Diffstat (limited to 'Lib/urllib')
-rw-r--r-- | Lib/urllib/request.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/urllib/request.py b/Lib/urllib/request.py index c6767d0..a2b439c 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): |