CGI Scripts

Anders M Eriksson anders.eriksson at morateknikutveckling.se
Mon Feb 7 11:21:07 CET 2000


On Sun, 06 Feb 2000 09:01:38 GMT, "Fredrik Lundh" <effbot at telia.com>
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"
>
>  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