]> granicus.if.org Git - python/commitdiff
Merged revisions 82890 via svnmerge from
authorSenthil Kumaran <orsenthil@gmail.com>
Wed, 14 Jul 2010 19:20:43 +0000 (19:20 +0000)
committerSenthil Kumaran <orsenthil@gmail.com>
Wed, 14 Jul 2010 19:20:43 +0000 (19:20 +0000)
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r82890 | senthil.kumaran | 2010-07-15 00:45:23 +0530 (Thu, 15 Jul 2010) | 3 lines

  Fix: Issue6853 - Get HTTPS system proxy in Windows.
........

Lib/urllib/request.py

index cb80a36f8ba0ab3270e5fedcb21771675f547195..9fa09cde24ff6c6def9b55a2e942fb51b24f5d38 100644 (file)
@@ -2283,6 +2283,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):