xmlrpc

xmlrpc

Transport class for Python's XML-RPC lib

Posted by itkovian on Thu, 06/21/2007 - 15:58 in

Given that the xmlrpclib.Transport class can be derived, it is perhaps easier to define a new transport class that implements the patch shown in the facelift post, though I still believe Python's XML-RPC library is due a much needed update.

Thus, I present the HTTPTransport class:

Update: It seems I forgot to parse the resulting payload. this is now fixed in the updated code below.

from xmlrpclib import Transport

Python XML-RPC needs a facelift.

Posted by itkovian on Fri, 06/15/2007 - 16:04 in

I have been experimenting with the Python XML-RPC implementation for a while now, and yesterday, I came across what is most accurately described as a bug. Let's consider a nice figure to illustrate how the XML-RPC implementation handles things in the Python 2.5 release.

Python xmlrpc madness
Syndicate content