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)
+1
Ciao,
-- Gianugo Rabellino Pro-netics s.r.l. - http://www.pro-netics.com Orixo, the XML business alliance - http://www.orixo.com (Now blogging at: http://blogs.cocoondev.org/gianugo/)
