Customized Response that handles XML-RPC-specific details.
We override setBody to marhsall Python objects into XML-RPC. We
also override exception to convert errors to XML-RPC faults.
If these methods stop getting called, make sure that ZPublisher is
using the xmlrpc.Response object created above and not the original
HTTPResponse object from which it was cloned.
It's probably possible to improve the exception method quite a bit.
The current implementation, however, should suffice for now.
Methods
|
|
__delattr__
__getattr__
__init__
__setattr__
exception
setBody
|
|
__delattr__
|
__delattr__ ( self, name )
|
|
__getattr__
|
__getattr__ ( self, name )
|
|
__init__
|
__init__ ( self, real )
|
|
__setattr__
|
__setattr__ (
self,
name,
v,
)
|
|
exception
|
exception (
self,
fatal=0,
info=None,
absuri_match=None,
tag_search=None,
)
|
|
setBody
|
setBody (
self,
body,
title='',
is_error=0,
bogus_str_search=None,
)
|
|