]> granicus.if.org Git - python/commitdiff
Fix a mistake, https proxy shoud be https://
authorSenthil Kumaran <orsenthil@gmail.com>
Wed, 14 Jul 2010 20:10:52 +0000 (20:10 +0000)
committerSenthil Kumaran <orsenthil@gmail.com>
Wed, 14 Jul 2010 20:10:52 +0000 (20:10 +0000)
Lib/urllib/request.py

index a2b439cb6e0aded419659bb6f14963f80729155a..6c4b5f7cae566e5fe19e5b66b856c9ccb37bea12 100644 (file)
@@ -2279,7 +2279,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):