perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Frank Maas" <frank.m...@cheiron-it.nl>
Subject RE: [mp2] 2nd content_type is ignored?
Date Fri, 28 Apr 2006 16:00:27 GMT
> but the thing about output filters is they should do something like
> 
>   return DECLINED unless $r->content_type =~ m/something_I_can_handle/;
> 
> so your xml filter should decline (or better, remove itself) from the
> filter chain if it's not xml you're being asked to process.

yup, I'll tell the maintainer of this output filter (it's not my module, I am still steering
away from writing my own filter ;-) ).

Frank


Mime
View raw message