[Zope] how to set request http status.

Andreas Jung lists at andreas-jung.com
Fri Mar 11 12:21:43 EST 2005



--On Freitag, 11. März 2005 9:11 Uhr -0800 bahriesz at yahoo.com wrote:

> How do we set the http status of the Request reply
> back to browser?. This is needed in situation where we
> defined our own http status. Those you are familiar
> with snakelets framework, there is
> request.send_error(code, message).
>

RESPONSE.setStatus(status)

-aj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope/attachments/20050311/dd8b118e/attachment.bin


More information about the Zope mailing list