Issue 648658: xmlrpc can't do proxied HTTP (original) (raw)

Created on 2002-12-04 22:04 by bbum, last changed 2022-04-10 16:05 by admin.

Files
File name Uploaded Description Edit
HTTPTransport.py bbum,2002-12-08 17:07
Messages (8)
msg53707 - (view) Author: Bill Bumgarner (bbum) Date: 2002-12-04 22:04
The current xmlrpclib can't communicate through a proxy server. In particular, the two Transport classes contained within xmlrpclib use httplib directly and, as such, do not support the proxy handling as offered by urllib. Or so it seems. I'm in dire need of support for proxies in xmlrpclib and will be investigating creating a custom Transport class that uses urllib as opposed to httplib to gain support for proxies. Assuming success, I'll post the new transport class here. In the interim, I figured I would log a bug in case anyone else is interested in working on the problem (or already has a solution :). b.bum bbum@mac.com
msg53708 - (view) Author: Bill Bumgarner (bbum) Date: 2002-12-08 17:07
Logged In: YES user_id=103811 As discussed on python-dev and with Fredrick Lundh, I created an HTTPTransport class that uses urllib2 to implement the HTTP transport. It works around a bug in urllib2 [handler ordering] and augments the request dispatch found in the Transport class. I'm using it in a production context and have tested it fairly heavily.
msg69044 - (view) Author: anatoly techtonik (techtonik) Date: 2008-07-01 13:41
I will be second to emphasize the importance of using XML-RPC through a proxy. bzr behind a proxy can't be used with launchpad because of this bug.
msg71420 - (view) Author: Geoffrey Bache (gjb1002) Date: 2008-08-19 14:34
Somebody else here in desperate need of this bug being fixed, both to talk to bazaar and bugzilla...
msg71421 - (view) Author: Fredrik Lundh (effbot) * (Python committer) Date: 2008-08-19 14:42
It's a missing feature, not a bug in the existing code. But if you're desperate, why not just use the transport implementation that's attached to this issue?
msg71727 - (view) Author: Geoffrey Bache (gjb1002) Date: 2008-08-22 07:24
Well, strictly speaking, yes. It just feels like a rather major omission (when Python can do xmlrpc and handle proxies you hope it will handle the combination). "Desperate" doesn't really have a timeline, strangely enough :) I know I will be talking to bazaar and bugzilla behind a proxy in the mid-term future and it would be very useful to use an officially sanctioned solution (though of course I will try the attached file if there isn't one at the time). I see Python 2.6 is nearing release candidates : is this likely to be included or will we have to wait for 2.7 now?
msg72623 - (view) Author: Dirkjan Ochtman (djc) * (Python committer) Date: 2008-09-05 19:56
Would this be solved by ?
msg189984 - (view) Author: Mark Lawrence (BreamoreBoy) * Date: 2013-05-25 17:06
Could someone take a look at this while investigating other xmlrpc issues e.g. #7727.
History
Date User Action Args
2022-04-10 16:05:57 admin set github: 37568
2014-02-03 18:21:39 BreamoreBoy set nosy: - BreamoreBoy
2013-05-25 17:06:03 BreamoreBoy set nosy: + BreamoreBoymessages: +
2010-07-25 10🔞28 BreamoreBoy set assignee: effbot -> orsenthilnosy: + orsenthil, - effbot
2010-07-10 05:47:11 terry.reedy set versions: + Python 3.2, - Python 2.6
2008-09-05 19:56:16 djc set nosy: + djcmessages: +
2008-08-22 07:24:22 gjb1002 set messages: +
2008-08-19 14:42:52 effbot set messages: +
2008-08-19 14:34:05 gjb1002 set nosy: + gjb1002messages: +
2008-07-02 14:29:38 barry set nosy: + barry
2008-07-01 13:41:18 techtonik set nosy: + techtonikmessages: +
2008-01-05 18:01:05 christian.heimes set versions: + Python 2.6
2002-12-04 22:04:35 bbum create