cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brecht Schoolmeesters <>
Subject map:serialize http 404 status code in map:handle-errors
Date Fri, 09 Sep 2011 08:20:20 GMT

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:generate src="error.xml"/>
        <map:serialize type="xml" status-code="404"/>

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.

Thanks in advance,

View raw message