You are viewing a plain text version of this content. The canonical link for it is here.
Posted to asp@perl.apache.org by Josh Chamas <jo...@chamas.com> on 2003/01/09 09:22:21 UTC

Re: $Response->{ContentType} on error

Philip Mak wrote:
> Suggestion:
> 
> If Apache::ASP prints an error page due to Perl dying, I think it
> should automatically set $Response->{ContentType} back to text/html.
> Otherwise, the error page might not be seen by the client if the
> script has already changed it to 'application/whatever' or something.

Sorry Philip for taking so long to get back, I'm getting caught up
post vacation!

I agree about setting the ContentType back to text/html before
flushing the Debug error output, and will have this fixed in 2.51.

Regards,

Josh
________________________________________________________________
Josh Chamas, Founder                   phone:925-552-0128
Chamas Enterprises Inc.                http://www.chamas.com
NodeWorks Link Checking                http://www.nodeworks.com


---------------------------------------------------------------------
To unsubscribe, e-mail: asp-unsubscribe@perl.apache.org
For additional commands, e-mail: asp-help@perl.apache.org