cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thorsten Scherler <scher...@gmail.com>
Subject Re: map:serialize http 404 status code in map:handle-errors
Date Fri, 09 Sep 2011 08:34:50 GMT
On Fri, 2011-09-09 at 10:20 +0200, Brecht Schoolmeesters wrote:
> Hi,
> 
> 
> I think there is a bug in cocoon. When I try the following, the cocoon
> server returns http status code 200. It should return http 404:
> 
> 
>  <map:handle-errors>
>         <map:generate src="error.xml"/>
>         <map:serialize type="xml" status-code="404"/>
> </map:handle-errors>
> 
> 
> This is very strange because when I set status codes 500, 400,
> 401, ... these all work. The only one that doesn't work is the 404 not
> found status code. The problem only occurs within the
> <map:handle-errors> tag.

Hmm, weird.  Which version?

salu2
-- 
Thorsten Scherler <thorsten.at.apache.org>
codeBusters S.L. - web based systems
<consulting, training and solutions>
http://www.codebusters.es/


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message