Any IIS 6 Perl CGI gurus out their with their sanity intact
dave at dave.org.uk
Wed Nov 14 13:52:13 GMT 2007
Quoting Bob Browning <bob at textor.com>:
> I put print "content-type:text/html\n\nhello"; in the top of the file and
> it came out.
Why do people do that? You're lying to the browser about the content
type. You say you're going to send HTML but you actually sent plain
text. It's not just you, obviously, I see it all over the place.
Especially in some of the more dubious Perl/CGI books.
You can use text/plain as a content type you know.
More information about the london.pm