CGI Scripts

Fredrik Lundh effbot at telia.com
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-
ment:

  print "Content-type: test/html"
  print

just like in the posted script.

</F>





More information about the Python-list mailing list