projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4988d7a
)
Fix: Issue6853 - Get HTTPS system proxy in Windows.
author
Senthil Kumaran
<orsenthil@gmail.com>
Wed, 14 Jul 2010 19:15:23 +0000
(19:15 +0000)
committer
Senthil Kumaran
<orsenthil@gmail.com>
Wed, 14 Jul 2010 19:15:23 +0000
(19:15 +0000)
Lib/urllib/request.py
patch
|
blob
|
history
diff --git
a/Lib/urllib/request.py
b/Lib/urllib/request.py
index c6767d0b26601bde5a1a6c11eacd07630fca1c3d..a2b439cb6e0aded419659bb6f14963f80729155a 100644
(file)
--- a/
Lib/urllib/request.py
+++ b/
Lib/urllib/request.py
@@
-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):