On Tue, 13 Mar 2001, Andrew Ho wrote:
> PH>Um, you're getting me confused now, but PerlSendHeader On means that
> PH>mod_perl WILL send headers.
> 
> I recognize this confusion. Most recovering CGI programmers think that
> "PerlSendHeader On" means that you no longer have to do this in your CGI:
> 
>     print "Content-type: text/html\n\n";
> 
> When in fact you still do. The manpage makes it sound like you don't.
> Perhaps a note to that effect would be helpful.

I certainly want newbies to understand the docs, but the man page does say
very explicitly "Just as with mod_cgi, PerlSendHeader will not send the
MIME type and a terminating double newline.  Your script must send that
itself..."

- Perrin

Reply via email to