[ python-Bugs-1448934 ] urllib2+https+proxy not working
SourceForge.net
noreply at sourceforge.net
Sat Apr 15 19:27:41 CEST 2006
Bugs item #1448934, was opened at 2006-03-13 15:55
Message generated for change (Comment added) made by jjlee
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1448934&group_id=5470
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Python Library
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Rui Martins (ruibmartins)
Assigned to: Nobody/Anonymous (nobody)
Summary: urllib2+https+proxy not working
Initial Comment:
Using urllib2 to access an https site using a proxy
doesn't work. It always returns "<HTML> </HTML>"
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?
----------------------------------------------------------------------
Comment By: John J Lee (jjlee)
Date: 2006-04-15 18:27
Message:
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.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1448934&group_id=5470
More information about the Python-bugs-list
mailing list