Doesn't seems to be updated? Is it the good location? http://webpy.org/bzr/webpy.dev
On Oct 12, 2:52 am, Anand <[EMAIL PROTECTED]> wrote: > On 12-Oct-07, at 11:59 AM, blaf wrote: > > > > > Anand, > > > could you provide more information on how to override error response > > with webpy-dev? It looks like line 221 of application.py: raise > > NotFound doesn't work. Changing it to return web.notfound() return at > > least the 404 Not Found message. > > Thanks for pointing that. Thats a bug. But bug is elsewhere. It is > fixed now. Try with the latest code. > > To override the notfound behavior, do the following: > > def mynotfound(): > return "<h1>Not Found</h1>" > > app.notfound = mynotfound --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
