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://www.w3.org/TR/html4/loose.dtd">\n
HTTP header lines must end with \r\n, not just with \n. Not sure this is the solution to your specific problem though... -Peter -- http://mail.python.org/mailman/listinfo/python-list