[Twisted-Python] XMLRPC Class in HTTP Server.

Jason Fritcher fritcher at corp.earthlink.net
Mon Jul 9 09:36:59 EDT 2007

Daniel de la Cuesta wrote:
> Ok, but this is not exactly what I want.

The xml-rpc server is a web resource node, so to make things work, you
need to call the render() method on your xml-rpc instance, so in your
url map, instead of...




to store a bound reference to the render method and then all you need to
do is call that and pass it the request object. The render method will
take care of setting up deferreds to write the response or any errors
back to the client.

Jason Fritcher
Senior Software Engineer
Core Infrastructure Services & Strategy
Earthlink, Inc
fritcher at corp.earthlink.net

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 249 bytes
Desc: OpenPGP digital signature
Url : http://twistedmatrix.com/pipermail/twisted-python/attachments/20070709/243817d8/attachment.pgp 

More information about the Twisted-Python mailing list