Permalink
Browse files

Merge pull request #1272 from chicheng/addition-http-status-codes

Fixed #20598 -- Add new HTTP status codes defined in rfc6585
  • Loading branch information...
2 parents 46789e7 + 659d090 commit 387372586176d6c6d509582920eb80c4986f4c3d @mjtamlyn mjtamlyn committed Jun 14, 2013
Showing with 4 additions and 0 deletions.
  1. +4 −0 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',
}

0 comments on commit 3873725

Please sign in to comment.