"Philippe M. Chiasson" <[EMAIL PROTECTED]> writes: > Scott Gifford wrote: >> Hello, >> [...] >> >> 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. > > http://perl.apache.org/docs/2.0/api/Apache/RequestRec.html#C_content_type_
[...] Geoffrey Young <[EMAIL PROTECTED]> writes: [...] > in addition to what philippe said, Apache::Clean for mp2 should prove as a > good example for you to follow: > > http://search.cpan.org/~geoff/Apache-Clean-2.00_4/ Thanks very much! Both of these pointers were very helpful. I swear 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. Thanks again! ---ScottG.