From e470458b64fa88bd2ad3d3adc379e00af5978013 Mon Sep 17 00:00:00 2001 From: Ross Brattain Date: Mon, 2 Jan 2012 12:14:32 -0800 Subject: [PATCH] pip/download.py: use proxy for https Signed-off-by: Ross Brattain --- pip/download.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pip/download.py b/pip/download.py index b11d1e8c4e7..2cebc69b6c0 100644 --- a/pip/download.py +++ b/pip/download.py @@ -132,7 +132,7 @@ def setup(self, proxystr='', prompting=True): self.prompting = prompting proxy = self.get_proxy(proxystr) if proxy: - proxy_support = urllib2.ProxyHandler({"http": proxy, "ftp": proxy}) + proxy_support = urllib2.ProxyHandler({"http": proxy, "ftp": proxy, "https": proxy}) opener = urllib2.build_opener(proxy_support, urllib2.CacheFTPHandler) urllib2.install_opener(opener)