[Zope-dev] XML-RPC incorrect 404 return code

Alan Milligan alan at balclutha.org
Thu May 6 22:41:04 EDT 2004


Hi,

I'm doing some stuff using Zope as an XML-RPC server, and have come 
across a rather interesting bug.

If the method doesn't exist on the Zope server, Zope returns an 
xmlrpclib.Fault with a faultCode= -1. 

This completely trips out my XML-RPC client which was rather expecting 
an xmlrpclib.ProtocolError.

Does anybody have a strong opinion on sorting out ZPublisher.xmlrpc.py 
to to do a little more than it's present rather lame error handling??

Alan




More information about the Zope-Dev mailing list