Message view | « Date » · « Thread » |
---|---|
Top | « Date » · « Thread » |
From | Christopher Grau <ch...@chrisgrau.com> |
Subject | Re: help on setting up a PerlFixupHandler |
Date | Wed, 06 Aug 2003 18:26:57 GMT |
On Wed, Aug 06, 2003 at 08:24:30PM +0200, Xavier Noria wrote: > To fix that, is it safe to change the test to > > defined $r->content_type and $r->content_type ne 'text/html'; > > or is there a better way? I usually don't concern myself with the previous content type when writing <Location>-based content handlers. My output is always "text/html" anyway. Would it be safe in your application to just leave it out completely? -chris | |
Mime |
|
View raw message |