Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed #20598 -- Add new HTTP status codes defined in rfc6585

428, 429, 431 and 511
  • Loading branch information...
commit 659d090025cf3ba1b33844090800efcdbc04c7c6 1 parent b7bd708
CHI Cheng authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 django/http/response.py
View
4 django/http/response.py
@@ -66,6 +66,9 @@
423: 'LOCKED',
424: 'FAILED DEPENDENCY',
426: 'UPGRADE REQUIRED',
+ 428: 'PRECONDITION REQUIRED',
+ 429: 'TOO MANY REQUESTS',
+ 431: 'REQUEST HEADER FIELDS TOO LARGE',
500: 'INTERNAL SERVER ERROR',
501: 'NOT IMPLEMENTED',
502: 'BAD GATEWAY',
@@ -76,6 +79,7 @@
507: 'INSUFFICIENT STORAGE',
508: 'LOOP DETECTED',
510: 'NOT EXTENDED',
+ 511: 'NETWORK AUTHENTICATION REQUIRED',
}
Please sign in to comment.
Something went wrong with that request. Please try again.