From 32aa3eb0129ddce47cef3ffcecadfb15b970fcca Mon Sep 17 00:00:00 2001 From: Max Countryman Date: Thu, 8 Nov 2012 14:30:13 -0800 Subject: [PATCH] adding UTF-8 status codes --- requests/status_codes.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/requests/status_codes.py b/requests/status_codes.py index e25ecdb..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'), -- 2.34.1