Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Add HTTPExceptions for 428, 429, and 431 #200

merged 2 commits into from Jan 7, 2013


None yet
4 participants

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?


kennethreitz commented Jan 7, 2013


@kennethreitz kennethreitz added a commit that referenced this pull request Jan 7, 2013

@kennethreitz kennethreitz Merge pull request #200 from jessaustin/master
Add HTTPExceptions for 428, 429, and 431

@kennethreitz 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