diff --git a/Lib/urllib/request.py b/Lib/urllib/request.py index 9fa09cde24f..14ea0aad5ed 100644 --- a/Lib/urllib/request.py +++ b/Lib/urllib/request.py @@ -2283,7 +2283,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):