CGI Scripts

Fredrik Lundh effbot at
Sun Feb 6 04:01:38 EST 2000

Joshua Macy wrote:
>   Sorry, typo. That should have read:
>   print "Content-type: test/html\n\n"

or rather,

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

since print already adds a newline all by itself.
you can of course also use an extra print state-

  print "Content-type: test/html"

just like in the posted script.


More information about the Python-list mailing list