CGI Scripts

Joshua Macy amused at webamused.com
Sun Feb 6 17:19:08 CET 2000


Fredrik Lundh wrote:
> 
> 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>

  Oops.  Type in haste, repent in leisure.

  Joshua



More information about the Python-list mailing list