Ken Williams wrote:
> 
> [EMAIL PROTECTED] (Dan McCormick) wrote:
> >Hi,
> >
> >I was just trying to hack a script into showing its HTML output to a
> >browser by setting the content type to 'text/plain', but it looks like
> >Apache::SSI, which I'm using, always sets the content type to
> >'text/html' (line 23 Apache::SSI).
> 
> I'll remove it if it won't break anything - will Apache set the type to
> text/html if no other information is given?
> 

Can you just do $r->content_type and see if had been set
already ?  Then set it if blank ?

-- Joshua
_________________________________________________________________
Joshua Chamas                           Chamas Enterprises Inc.
NodeWorks >> free web link monitoring   Huntington Beach, CA  USA 
http://www.nodeworks.com                1-714-625-4051

Reply via email to