diff --git a/Lib/urllib/request.py b/Lib/urllib/request.py index a2b439cb6e0a..6c4b5f7cae56 100644 --- a/Lib/urllib/request.py +++ b/Lib/urllib/request.py @@ -2279,7 +2279,7 @@ def getproxies_registry(): 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):