perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geoffrey Young <>
Subject Re: [mp2] 2nd content_type is ignored?
Date Fri, 28 Apr 2006 16:23:40 GMT

Frank Maas wrote:
>> 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 ;-) ).

it's not all that hard...

although the code here is kinda old (pre-2.0-rename) the concepts are still



View raw message