strange CGI problem

Arad Rostampour arad at fc.hp.com
Wed Jan 12 02:31:35 EST 2000


Do you have a:

print "Content-type: text/html\n"

as your first output?

Enjoy,
Arad
--
Arad Rostampour- arad at fc.hp.com
NT Platform and I/O Team
Software and System Development Lab
Hewlett-Packard

Skip Montanaro wrote in message
<14459.47851.670815.455938 at beluga.mojam.com>...
>
>    >> I'm creating a little web-site; for some reason when I view the page
>    >> in Internet Explorer, it's fine, but Netscape shows me the raw html
>    >> as if it's a text file.  What would cause this?
>
>Sounds like IE is looking at the contents and saying, "hmmm... looks like
>HTML", and displaying it.  Make sure your CGI script is spitting out an
>appropriate Content-type header.
>
>





More information about the Python-list mailing list