mirror of
https://github.com/python/cpython.git
synced 2026-06-17 16:40:43 -04:00
Fix: Issue6853 - Get HTTPS system proxy in Windows.
This commit is contained in:
@@ -2279,6 +2279,7 @@ elif os.name == 'nt':
|
||||
proxies['http'] = proxyServer
|
||||
else:
|
||||
proxies['http'] = 'http://%s' % proxyServer
|
||||
proxies['https'] = 'http://%s' % proxyServer
|
||||
proxies['ftp'] = 'ftp://%s' % proxyServer
|
||||
internetSettings.Close()
|
||||
except (WindowsError, ValueError, TypeError):
|
||||
|
||||
Reference in New Issue
Block a user