Issue 1448934: urllib2+https+proxy not working (original) (raw)

Created on 2006-03-13 15:55 by ruibmartins, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (6)
msg54748 - (view) Author: Rui Martins (ruibmartins) Date: 2006-03-13 15:55
Using urllib2 to access an https site using a proxy doesn't work. It always returns " " I've been looking around for bug reports on this and code samples, but all that I've got were emails/forum posts dating back to 2003 warning that the HTTPS over Proxy in urllib2 isn't implemented in Python! Is this true?
msg54749 - (view) Author: John J Lee (jjlee) Date: 2006-04-15 17:27
Logged In: YES user_id=261020 Yes, there is no special support for using https proxies (via the CONNECT method) in httplib or urllib2. http://python.org/sf/515003 shows how to do it, but the patch is not good enough to be added to the standard library. Feel free to write a better patch! Please close this, since it's really a feature request, not a bug.
msg54750 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2006-05-03 05:33
Logged In: YES user_id=849994 Moving to Feature Requests.
msg90262 - (view) Author: Peter Funk (pefu) Date: 2009-07-08 10:00
I stumbled about this here because of testing the Ubuntuone project: http://en.oreilly.com/oscon2009/public/schedule/detail/8843 The client for the ubuntuone cloud computing suffers from being unable to connect through a HTTPS proxy. May be some of the folks at Canonical are now willing to spend some time on this issue here? It is recorded in the Ubuntu tracker as: https://bugs.launchpad.net/ubuntu/+source/python2.6/+bug/94130 I think a lot of the corporate Ubuntu Linux users behind restrictive firewalls are affected by this problem.
msg90263 - (view) Author: Senthil Kumaran (orsenthil) * (Python committer) Date: 2009-07-08 10:07
I noticed this one yesterday. There is a similar issue Issue1424152, the fix for which is available in Py2.7. Would you try to that patch?
msg90940 - (view) Author: Senthil Kumaran (orsenthil) * (Python committer) Date: 2009-07-26 12:44
Well, the fix for this same as that for Issue1424152. Closing this issue as it is already handled.
History
Date User Action Args
2022-04-11 14:56:15 admin set github: 43029
2009-07-26 12:44:03 orsenthil set status: open -> closedresolution: duplicatemessages: +
2009-07-08 10:08:50 orsenthil set assignee: orsenthil
2009-07-08 10:07:18 orsenthil set messages: + versions: + Python 3.1, Python 3.2
2009-07-08 10:00:06 pefu set nosy: + pefumessages: +
2009-02-12 17:38:04 ajaksu2 set nosy: + orsenthildependencies: + Added HTTP{,S}ProxyConnectionstage: test neededversions: + Python 2.7
2008-01-05 14:09:50 vila set nosy: + vila
2006-03-13 15:55:10 ruibmartins create