Not really since all network servers of Zope (HTTP, FTP, XMLRPC etc.) convert their payload into a request object which is passed to the ZPublisher. So the called object only sees the REQUEST but not who created the REQUEST. You could hack Zope XMLRPC engine to include some kind of flag to indicate that the REQUEST comes through XMLRPC and then check the flag from within your application. -aj --On Dienstag, 10. Februar 2004 17:55 Uhr +0100 Florian Schulze <florian.proff.schulze@gmx.net> wrote:
Hi!
I would like to know if there is an easy way to detect if a request is issued by XML-RPC. I would then like to send a smaller response to reduce net traffic. Any pointers and tips, on how to do that and how the response has to look like, are greatly appreciated.
Regards, Florian Schulze
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )