[CGI] Why is HTML not rendered?

Gilles nospam at nospam.com
Fri Aug 17 12:19:47 EDT 2012


On Fri, 17 Aug 2012 14:44:37 +0100, Robert Kern
<robert.kern at gmail.com> wrote:
>> For some reason, this CGI script that I found on Google displays the
>> contents of the variable but the HTML surrounding it is displayed
>> as-is by the browser instead of being rendered

Thanks all. I (obviously) combined two scripts but didn't notice that
I had to change the "Content-Type" line to output HTML.



More information about the Python-list mailing list