Re: Creating a filter for all text/html files
- "Philippe M. Chiasson" <gozer@...> writes:
> Scott Gifford wrote:[...]
>> I've got it working right now, but I'd like it to know the
>> Content-Type that Apache would use for a document, so I can decide
>> whether to filter it and so I can send a correct Content-Type header.
> $r->content_type should tell you that.
Geoffrey Young <geoff@...> writes:
> in addition to what philippe said, Apache::Clean for mp2 should prove as aThanks very much! Both of these pointers were very helpful. I swear
> good example for you to follow:
I tried looking at content_type and it didn't work, but it must have
been a bug somewhere else, because it works perfectly now.