Skip to content

Commit

Permalink
Merge pull request pypa#423 from rbbratta/develop
Browse files Browse the repository at this point in the history
pip/download.py: use proxy for https
  • Loading branch information
jezdez committed Jan 2, 2012
2 parents c704b10 + e470458 commit 8c34efc
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 8c34efc

Please sign in to comment.