diff options
author | Senthil Kumaran <orsenthil@gmail.com> | 2010-07-14 20:10:52 (GMT) |
---|---|---|
committer | Senthil Kumaran <orsenthil@gmail.com> | 2010-07-14 20:10:52 (GMT) |
commit | 04f31b8ae6cc2a1aea70ea184d16b3a3dc2048dd (patch) | |
tree | 8f2b169dc9b28e7806a3cccd5dd724742d792513 | |
parent | e4004a653cd088dbf820a3535fbd8dd4d13727bd (diff) | |
download | cpython-04f31b8ae6cc2a1aea70ea184d16b3a3dc2048dd.zip cpython-04f31b8ae6cc2a1aea70ea184d16b3a3dc2048dd.tar.gz cpython-04f31b8ae6cc2a1aea70ea184d16b3a3dc2048dd.tar.bz2 |
Fix a mistake, https proxy shoud be https://
-rw-r--r-- | Lib/urllib/request.py | 2 |
1 files changed, 1 insertions, 1 deletions
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): |