That won't be necessary. When you use the webpy templates, that header
is set automatically if the template file ends it '.html'. Similarly,
if the template file ends in '.xml', it sets the content type to 'text/
xml'.


On Aug 6, 3:31 am, boubou_cs <[email protected]> wrote:
> Perhaps you should had web.header('Content-type','text/html') in the
> beginning of POST def from todo.py.

-- 
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/webpy?hl=en.

Reply via email to