From 04f31b8ae6cc2a1aea70ea184d16b3a3dc2048dd Mon Sep 17 00:00:00 2001 From: Senthil Kumaran Date: Wed, 14 Jul 2010 20:10:52 +0000 Subject: Fix a mistake, https proxy shoud be https:// --- Lib/urllib/request.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/urllib/request.py b/Lib/urllib/request.py index a2b439c..6c4b5f7 100644 --- a/Lib/urllib/request.py +++ b/Lib/urllib/request.py @@ -2279,7 +2279,7 @@ elif os.name == 'nt': proxies['http'] = proxyServer else: proxies['http'] = 'http://%s' % proxyServer - proxies['https'] = 'http://%s' % proxyServer + proxies['https'] = 'https://%s' % proxyServer proxies['ftp'] = 'ftp://%s' % proxyServer internetSettings.Close() except (WindowsError, ValueError, TypeError): -- cgit v0.12