https://bugzilla.novell.com/show_bug.cgi?id=214983 Summary: https proxy support broken in python 2.5's urllib2? Product: openSUSE 10.2 Version: Beta 1 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: jmatejek@novell.com ReportedBy: poeml@novell.com QAContact: qa@suse.de Using urllib2 via http proxy works fine, but not via https proxy: poeml@shannon ~ % python -c "import urllib2; urllib2.urlopen('http://www.sf.net').read()" poeml@shannon ~ % python -c "import urllib2; urllib2.urlopen('https://www.sf.net').read()" Traceback (most recent call last): File "<string>", line 1, in <module> File "/usr/lib/python2.5/urllib2.py", line 121, in urlopen return _opener.open(url, data) File "/usr/lib/python2.5/urllib2.py", line 374, in open response = self._open(req, data) File "/usr/lib/python2.5/urllib2.py", line 392, in _open '_open', req) File "/usr/lib/python2.5/urllib2.py", line 353, in _call_chain result = func(*args) File "/usr/lib/python2.5/urllib2.py", line 668, in <lambda> meth(r, proxy, type)) File "/usr/lib/python2.5/urllib2.py", line 691, in proxy_open return self.parent.open(req) File "/usr/lib/python2.5/urllib2.py", line 380, in open response = meth(req, response) File "/usr/lib/python2.5/urllib2.py", line 491, in http_response 'http', request, response, code, msg, hdrs) File "/usr/lib/python2.5/urllib2.py", line 418, in error return self._call_chain(*args) File "/usr/lib/python2.5/urllib2.py", line 353, in _call_chain result = func(*args) File "/usr/lib/python2.5/urllib2.py", line 499, in http_error_default raise HTTPError(req.get_full_url(), code, msg, hdrs, fp) urllib2.HTTPError: HTTP Error 400: Bad Request [1] 31530 exit 1 python -c "import urllib2; urllib2.urlopen('https://www.sf.net').read()" It could be either the proxy, or python, which is doing something wrong. But on 10.1 it works. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.