diff options
author | SVN-Git Migration <python-modules-team@lists.alioth.debian.org> | 2015-10-08 13:41:25 -0700 |
---|---|---|
committer | SVN-Git Migration <python-modules-team@lists.alioth.debian.org> | 2015-10-08 13:41:25 -0700 |
commit | 9f376f89bdf80a40914218d64cd9cd61b25f449d (patch) | |
tree | 6205015b49c53a3178573532cfcd10dcd7f2d121 /requests/status_codes.py | |
parent | d4aa2de2bb89ca384ad81db731bb99735e1db788 (diff) | |
download | python-requests-9f376f89bdf80a40914218d64cd9cd61b25f449d.tar python-requests-9f376f89bdf80a40914218d64cd9cd61b25f449d.tar.gz |
Imported Upstream version 1.1.0
Diffstat (limited to 'requests/status_codes.py')
-rw-r--r-- | requests/status_codes.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/requests/status_codes.py b/requests/status_codes.py index da74286..08edab4 100644 --- a/requests/status_codes.py +++ b/requests/status_codes.py @@ -10,7 +10,7 @@ _codes = { 102: ('processing',), 103: ('checkpoint',), 122: ('uri_too_long', 'request_uri_too_long'), - 200: ('ok', 'okay', 'all_ok', 'all_okay', 'all_good', '\\o/'), + 200: ('ok', 'okay', 'all_ok', 'all_okay', 'all_good', '\\o/', '✓'), 201: ('created',), 202: ('accepted',), 203: ('non_authoritative_info', 'non_authoritative_information'), @@ -65,7 +65,7 @@ _codes = { 499: ('client_closed_request',), # Server Error. - 500: ('internal_server_error', 'server_error', '/o\\'), + 500: ('internal_server_error', 'server_error', '/o\\', '✗'), 501: ('not_implemented',), 502: ('bad_gateway',), 503: ('service_unavailable', 'unavailable'), @@ -83,4 +83,4 @@ for (code, titles) in list(_codes.items()): for title in titles: setattr(codes, title, code) if not title.startswith('\\'): - setattr(codes, title.upper(), code)
\ No newline at end of file + setattr(codes, title.upper(), code) |