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

........
  r82895 | senthil.kumaran | 2010-07-15 01:40:52 +0530 (Thu, 15 Jul 2010) | 3 lines

  Fix a mistake, https proxy shoud be https://
........

Lib/urllib/request.py

index 9fa09cde24ff6c6def9b55a2e942fb51b24f5d38..14ea0aad5ed6d32dfdd4ebbbd4dc5aa960ca8191 100644 (file)
@@ -2283,7 +2283,7 @@ elif os.name == 'nt':
                         proxies['http'] = proxyServer
                     else:
                         proxies['http'] = 'http://%s' % proxyServer
-                        proxies['https'] = 'http://%s' % proxyServer
+                        proxies['https'] = 'https://%s' % proxyServer
                         proxies['ftp'] = 'ftp://%s' % proxyServer
             internetSettings.Close()
         except (WindowsError, ValueError, TypeError):