cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefano Mazzocchi <stef...@apache.org>
Subject Re: [Vote] empty HTTP responses [was Re: Cannot easily set http status]
Date Thu, 06 Nov 2003 11:46:04 GMT

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.


Mime
View raw message