commit | 04f31b8ae6cc2a1aea70ea184d16b3a3dc2048dd | [log] [tgz] |
---|---|---|
author | Senthil Kumaran <orsenthil@gmail.com> | Wed Jul 14 20:10:52 2010 +0000 |
committer | Senthil Kumaran <orsenthil@gmail.com> | Wed Jul 14 20:10:52 2010 +0000 |
tree | 8f2b169dc9b28e7806a3cccd5dd724742d792513 | |
parent | e4004a653cd088dbf820a3535fbd8dd4d13727bd [diff] [blame] |
Fix a mistake, https proxy shoud be https://
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 @@ 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):