If you want to return an error in remoting, just raise an exception.
The message of the exception will be the description in the error
response.
Hope that helps.
Nick
On 16 Jun 2009, at 19:37,
vitaly@... wrote:
> hi all,
> 1.is there any possibility to send( and how :-)) ) custom HTTP
> response back to client request?
> Something like:
> return(remote.Response(response, status=remoting.STATUS_ERROR))
>
> 2.how can I set the custom response to some particular HTTP code and
> message(body)?
>
> Appreciate the help.
>
> _______________________________________________
> PyAMF users mailing list -
users@...
>
http://lists.pyamf.org/mailman/listinfo/users_______________________________________________
PyAMF users mailing list -
users@...
http://lists.pyamf.org/mailman/listinfo/users