On Thursday, Nov 6, 2003, at 09:37 Europe/Rome, Unico Hommes wrote:
I am +1 on the idea but would favor naming the method sendStatus instead, and also have a way to set the status on the environment from the flow without sending an empty response:
- cocoon.sendStatus(status) - cocoon.sendStatus(status, message) - cocoon.response.setStatus(status) - cocoon.response.setStatus(status,message)
+4 from me
+1, fair enough: an empty HTTP response is, in fact and in REST termonology, a description of the server status.
-- Stefano.
