Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(402)

Issue 100046: add "path" to the xmrlpc dispatcher

Can't Edit
Can't Publish+Mail
Start Review
Created:
15 years, 3 months ago by krisvale
Modified:
15 years, 3 months ago
Reviewers:
Base URL:
http://svn.python.org/view/*checkout*/python/trunk/
Visibility:
Public.

Description

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.

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+117 lines, -5 lines) Patch
Lib/SimpleXMLRPCServer.py View 4 chunks +41 lines, -4 lines 0 comments Download
Lib/test/test_xmlrpc.py View 5 chunks +76 lines, -1 line 0 comments Download

Messages

Total messages: 1
krisvale
15 years, 3 months ago (2009-08-04 21:37:53 UTC) #1

          
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b