python cgi script not understood as html
Philippe C. Martin
pmartin at snakecard.com
Mon Oct 24 22:41:57 CEST 2005
It is, thanks.
Peter Hansen wrote:
> Philippe C. Martin wrote:
>> The following code outputs the actual HTML text to the browser, not the
>> interpreted text.
>> html_ok = """
>> Content-Type: text/html\n
>> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
> HTTP header lines must end with \r\n, not just with \n. Not sure this
> is the solution to your specific problem though...
More information about the Python-list