Skip to content

4XX Handlers inconsistent #6

Open
iffy opened this Issue Mar 9, 2010 · 3 comments

3 participants

@iffy
iffy commented Mar 9, 2010

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:
http://pastebin.com/TgB6LH5q

@aaronsw
aaronsw commented Mar 27, 2010

This makes sense to me. Anand?

@anandology

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.