[Zope] Turning off xmlrpc handling

John Ziniti jziniti at speakeasy.net
Thu Jun 24 17:27:28 EDT 2004


ZPublisher seems to assume that if the Content-type
on an HTTP POST is "text/xml", then the request contains
an xmlrpc call.

I would like to POST an XML document and handle it myself
in an External Method (via REQUEST.BODY), but ZPublisher
exits with an error when it tries to parse the XML
message looking for a proper rpc call.

Can anyone think of an elegant way to tell Zope *not*
to do this?

1. I would prefer not to hack Zope.
2. I cannot change the Content-type on the client
3. I apparently cannot use apache mod_rewrite to
    rewrite headers.

Thanks in advance,

John Ziniti


More information about the Zope mailing list