From: Senthil Kumaran Date: Wed, 14 Jul 2010 20:10:52 +0000 (+0000) Subject: Fix a mistake, https proxy shoud be https:// X-Git-Tag: v3.2a1~191 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=04f31b8ae6cc2a1aea70ea184d16b3a3dc2048dd;p=python Fix a mistake, https proxy shoud be https:// --- diff --git a/Lib/urllib/request.py b/Lib/urllib/request.py index a2b439cb6e..6c4b5f7cae 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):