[Python-ideas] adding a "path" component to XMLRPC dispatch objects
Kristján Valur Jónsson
kristjan at ccpgames.com
Tue Aug 4 23:39:37 CEST 2009
I've created the following on Rietveld:
http://codereview.appspot.com/100046
Here's the descriptions:
by passing the "path" component of the xmlrpc request to the dispatch method, it
becomes possible to dispatch differently according to this. This patch provides
that 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.
I intend this as an addition to the standard lib. Any thoughts?
K
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20090804/9de9d1f3/attachment.html>
More information about the Python-ideas
mailing list