diff --git a/django/http/response.py b/django/http/response.py index 9aa49b1d5f3..784f21174ee 100644 --- a/django/http/response.py +++ b/django/http/response.py @@ -66,6 +66,9 @@ REASON_PHRASES = { 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 @@ REASON_PHRASES = { 507: 'INSUFFICIENT STORAGE', 508: 'LOOP DETECTED', 510: 'NOT EXTENDED', + 511: 'NETWORK AUTHENTICATION REQUIRED', }