mirror of https://github.com/python/cpython
Fix: Issue6853 - Get HTTPS system proxy in Windows.
This commit is contained in:
parent
4988d7a375
commit
e4004a653c
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue