Skip to content

Commit

Permalink
pip/download.py: use proxy for https
Browse files Browse the repository at this point in the history
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
  • Loading branch information
Ross Brattain committed Jan 2, 2012
1 parent c704b10 commit e470458
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pip/download.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit e470458

Please sign in to comment.