aboutsummaryrefslogtreecommitdiff
path: root/requests/status_codes.py
diff options
context:
space:
mode:
Diffstat (limited to 'requests/status_codes.py')
-rw-r--r--requests/status_codes.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/requests/status_codes.py b/requests/status_codes.py
index a809de6..fab8e95 100644
--- a/requests/status_codes.py
+++ b/requests/status_codes.py
@@ -47,15 +47,18 @@ _codes = {
412: ('precondition_failed', 'precondition'),
413: ('request_entity_too_large',),
414: ('request_uri_too_large',),
- 415: ('unspported_media_type', 'unspported_media', 'media_type'),
+ 415: ('unsupported_media_type', 'unsupported_media', 'media_type'),
416: ('requested_range_not_satisfiable', 'requested_range', 'range_not_satisfiable'),
417: ('expectation_failed',),
418: ('im_a_teapot', 'teapot', 'i_am_a_teapot'),
422: ('unprocessable_entity', 'unprocessable'),
423: ('locked',),
- 424: ('failed_depdendency', 'depdendency'),
+ 424: ('failed_dependency', 'dependency'),
425: ('unordered_collection', 'unordered'),
426: ('upgrade_required', 'upgrade'),
+ 428: ('precondition_required', 'precondition'),
+ 429: ('too_many_requests', 'too_many'),
+ 431: ('header_fields_too_large', 'fields_too_large'),
444: ('no_response', 'none'),
449: ('retry_with', 'retry'),
450: ('blocked_by_windows_parental_controls', 'parental_controls'),