summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSenthil Kumaran <orsenthil@gmail.com>2010-07-14 19:15:23 (GMT)
committerSenthil Kumaran <orsenthil@gmail.com>2010-07-14 19:15:23 (GMT)
commite4004a653cd088dbf820a3535fbd8dd4d13727bd (patch)
treeb20bedaa308eed966347f148de076111f8b86d86
parent4988d7a3754751979e0935800bce6e642aa37430 (diff)
downloadcpython-e4004a653cd088dbf820a3535fbd8dd4d13727bd.zip
cpython-e4004a653cd088dbf820a3535fbd8dd4d13727bd.tar.gz
cpython-e4004a653cd088dbf820a3535fbd8dd4d13727bd.tar.bz2
Fix: Issue6853 - Get HTTPS system proxy in Windows.
-rw-r--r--Lib/urllib/request.py1
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):