Is there a simple way to raise 404 just like I do
raise web.seeother
and make web.notfound() render the response for me?
All I've found is this cumbersome method:
raise HTTPError("404 Not Found", {'Content-Type':'text/
html'},"<html>...</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
-~----------~----~----~----~------~----~------~--~---