[CGI] Why is HTML not rendered?

Rob Day robert.day at merton.oxon.org
Fri Aug 17 09:41:41 EDT 2012


On 17 August 2012 14:27, Gilles <nospam at nospam.com> wrote:

>
> print "Content-Type: text/plain;charset=utf-8"
> print
>


Here's the problem - you're telling the browser to display in plain text.
Try 'text/html' instead.

-- 
Robert K. Day
robert.day at merton.oxon.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20120817/2a69de24/attachment.html>


More information about the Python-list mailing list