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

Reply via email to