2009/11/4 shwdai <[email protected]>:
> return web.ok(data=your_html_string)

web.ok is an exception. You should use it as raise web.ok(...).

You can also use:

web.ctx.status = "200 OK"
return "your-html"

--~--~---------~--~----~------------~-------~--~----~
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