The NotFound and InternalError handlers are special... which is confusing when you want to use some of the other error handlers (like Forbidden or Unauthorized) in the same way.
I propose making them all a little more uniform. Here's an untested patch to illustrate my intent:
This makes sense to me. Anand?
The diff was screwed so I applied this to my fork:
Having different behavior for notfound and NotFound is very confusing. I think what I've implemented is a bad hack. I think we should find a better solution to that.