cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vadim Gritsenko <vadim.gritse...@verizon.net>
Subject Re: [Vote] empty HTTP responses [was Re: Cannot easily set http status]
Date Thu, 06 Nov 2003 11:21:43 GMT
Unico Hommes wrote:

>>-----Original Message-----
>>From: Sylvain Wallez [mailto:sylvain@apache.org] 
>>Sent: woensdag 5 november 2003 15:12
>>To: dev@cocoon.apache.org
>>
>>Unico Hommes wrote:
>>
>>    
>>
>>>Null would mean a pipeline is not required to be executed.
>>>
>>>      
>>>
>>-1 : we must have an explicit call to an environment-related 
>>method that allows to detect if the application tries to send 
>>content back afterwards. And this should not be available 
>>only in the flow as we may want to do the same in an action.
>>
>>    
>>
>
>I see.
>
..

>>And if
>>sendStatus() and sendError() don't fit, let's do our own 
>>sendEmptyResponse(int status, String message).
>>    
>>
>
>sendStatus(int status, String message) sets the hasRedirected flag to true.
>
>setStatus(int status) doesn't.
>
>Perhaps this is correct way of doing it.
>  
>

I like it. +1.

Vadim



Mime
View raw message