[Python-Dev] issue 6654

Kristján Valur Jónsson kristjan at ccpgames.com
Mon Aug 10 11:18:24 CEST 2009

I've had no response to this yet.  Is no one using xmlrpc?
To clarify the feature:  The xmlrpc server invokes a "dispatch" method on a dispatcher object (typcillay, just itself) to process xmlrpc requests.
The "path" from the xmlrpc request is not provided.  By providing this path, it becomes possible to provide different behaviour for different paths.
The patch provided also includes a new dispatcher, MultipPathXMLRPCDispatcher, which will forward method to different dispatchers based on the path.
This makes it possible to multiplex many xmlrpc "servers", each with their own request path, on a single connection.
You may, for example, have installed a server at
but find that you want your server also to handle an entirely different application domain, and can do so now by having those requests sent to


From: python-dev-bounces+kristjan=ccpgames.com at python.org [mailto:python-dev-bounces+kristjan=ccpgames.com at python.org] On Behalf Of Kristján Valur Jónsson
Sent: 6. ágúst 2009 20:56
To: python-dev at python.org
Subject: [Python-Dev] issue 6654

I added http://bugs.python.org/issue6654
I also put a not to python-ideas but have had no response yet.  Any comments?
Here's the summary:

I've created http://codereview.appspot.com/100046 on Rietveld:

by passing the "path" component of the xmlrpc request to the dispatch

method, itbecomes possible to dispatch differently according to this.  This patch

providesthat addition.

Additionally, it provides an MultiPathXMLRPCDispatcher mixin

class and a MultiPathXMLRPCServer that uses it, to have multiple dispatchers for

different paths.

This allows a single server port to serve different XMLRPC servers as

differentiated by the HTTP path.  A test is also preovided.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20090810/d1d79ce6/attachment-0001.htm>

More information about the Python-Dev mailing list