perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tom Schindl <tomAtLi...@gmx.at>
Subject Re: Setting HTTP-STATUS and Filters
Date Wed, 22 Mar 2006 22:07:09 GMT
So I propose the following documentation patch many people may not grasp
that they need to look into the sources to find out that their filter
will always return HTTP-Status OK to their clients although they return
SERVER_ERROR ;-)

Tom

Geoffrey Young wrote:
> 
> Tom Schindl wrote:
> 
>>Hi,
>>
>>solved it myself $f->r->status() how stupid I haven't seen this before,
>>works like a charme but one more question, what is a filter supposed to
>>return on ERROR why does one have to set the status one self and return
>>Apache2::Const::SERVER_ERROR from the filter handller isn't setting the
>>request-status automatically? E.g. if there's an untrapped error.
> 
> 
> this is a bug in the filter implementation that someone just needs to get
> around to fixing.  grep for BAD_REQUEST in modperl_filter.c for the details.
> 
> --Geoff
> 
> 


Mime
View raw message