Support for HTTP Status Code: 429 - Too Many Requests

Currently raising HTTP 429 results in HTTP 500 being sent.  This patch resolves that issue.
This commit is contained in:
Jose C
2013-10-05 15:42:48 +01:00
parent 06ca5e6857
commit 88abefb896
+1
View File
@@ -44,6 +44,7 @@ defined_status = {
416: 'REQUESTED RANGE NOT SATISFIABLE',
417: 'EXPECTATION FAILED',
422: 'UNPROCESSABLE ENTITY',
429: 'TOO MANY REQUESTS',
451: 'UNAVAILABLE FOR LEGAL REASONS', # http://www.451unavailable.org/
500: 'INTERNAL SERVER ERROR',
501: 'NOT IMPLEMENTED',