CGI Scripts

Anders M Eriksson anders.eriksson at
Mon Feb 7 05:21:07 EST 2000

On Sun, 06 Feb 2000 09:01:38 GMT, "Fredrik Lundh" <effbot at>

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

Having alot of problems with just HTTP headers I have to ask this 

In all the above code snippets the content-type is set to test/html.
Please correct me if I'm wrong but shouldn't it be text/html?

// Anders

More information about the Python-list mailing list