reorganizing xmlrpc and adding json/jsonrpc

hi,
I propose adding a json lib in combination with a reorganisation of xmlrpc in order to support jsonrpc either by choice of the programmer or content-type neogation.
This mostly requires a json lib that's able to marshal jsonrpc requests/responses sharing the api of the xmlrpclib and some simple content-type choice in the rpcserver.
additional changes could be the reimplementation in terms of wsgi instead of having separate cgi/http server implementations and recreating the original api in terms of the wsgiref cgi/standalone handlers.
I'm looking forward to comments on this.
--- Ronny Pfannschmidt

On Sat, Mar 29, 2008 at 3:02 PM, Ronny Pfannschmidt Ronny.Pfannschmidt@gmx.de wrote:
hi,
I propose adding a json lib in combination with a reorganisation of xmlrpc in order to support jsonrpc either by choice of the programmer or content-type neogation.
This mostly requires a json lib that's able to marshal jsonrpc requests/responses sharing the api of the xmlrpclib and some simple content-type choice in the rpcserver.
Adding a JSON library is already under discussion on the web SIG. I would go read their archives and join the discussion there.
As for any merging with xmlrpc, that's fine, but it must be done in a backwards-compatible way.
-Brett
participants (2)
-
Brett Cannon
-
Ronny Pfannschmidt