> import webapi
> web.webapi.NotFound.message = "Sorry, the page you were looking for
> was not found."

What if people want to programmatically generate the notfound message,
perhaps to see if the URL was a typo and suggest nearby URLs?

What if people want notfound messages to have side effects, like be
added to a database so they can see the most popular 404s and add
redirects for them?

What if people want different notfound messages for different applications?

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