Add HTTPExceptions for 428, 429, and 431 #200

Merged
merged 2 commits into from Jan 7, 2013

Conversation

Projects
None yet
4 participants
Contributor

jessaustin commented Jul 10, 2012

Recently-released RFC 6585 introduces three new client-error status codes: 428, 429, and 431. I have added HTTPException subclasses "PreconditionRequired", "TooManyRequests", and "RequestHeaderFieldsTooLarge" to represent these status codes. (The RFC also adds a server-error status code, 511, but that is for proxies rather than origin servers so I don't include it.)

Great addition, 429 is really useful. Someone merge it in pls :)

jparise commented Jan 7, 2013

@mitsuhiko, what do you think about adding these additional status codes?

Collaborator

kennethreitz commented Jan 7, 2013

🍰

kennethreitz merged commit 3f0fa4e into pallets:master Jan 7, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment