[Python-checkins] r82897 - in python/branches/release27-maint: Lib/urllib.py

senthil.kumaran python-checkins at python.org
Wed Jul 14 22:22:18 CEST 2010


Author: senthil.kumaran
Date: Wed Jul 14 22:22:17 2010
New Revision: 82897

Log:
Merged revisions 82895 via svnmerge from 
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://
........


Modified:
   python/branches/release27-maint/   (props changed)
   python/branches/release27-maint/Lib/urllib.py

Modified: python/branches/release27-maint/Lib/urllib.py
==============================================================================
--- python/branches/release27-maint/Lib/urllib.py	(original)
+++ python/branches/release27-maint/Lib/urllib.py	Wed Jul 14 22:22:17 2010
@@ -1453,7 +1453,7 @@
                         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):


More information about the Python-checkins mailing list