fredrik at pythonware.com
Tue Jun 14 08:18:57 CEST 2005
"praba kar" wrote:
> I have doubt regarding headers in cgi
> programming. If I gives "Content-Type:text/plain"
> then I try to print html contents. Is right or wrong
> after giving content-type: text/plain?
if you expect the HTML contents to appear as HTML, it's wrong.
(some web browsers may display it as HTML even if it's tagged
as something else, but you shouldn't rely on this)
More information about the Python-list