]> granicus.if.org Git - python/commitdiff
Fix: Issue6853 - Get HTTPS system proxy in Windows.
authorSenthil Kumaran <orsenthil@gmail.com>
Wed, 14 Jul 2010 19:15:23 +0000 (19:15 +0000)
committerSenthil Kumaran <orsenthil@gmail.com>
Wed, 14 Jul 2010 19:15:23 +0000 (19:15 +0000)
Lib/urllib/request.py

index c6767d0b26601bde5a1a6c11eacd07630fca1c3d..a2b439cb6e0aded419659bb6f14963f80729155a 100644 (file)
@@ -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):