From: Max Countryman Date: Thu, 8 Nov 2012 22:30:13 +0000 (-0800) Subject: adding UTF-8 status codes X-Git-Tag: v1.0.0~106^2~4^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=32aa3eb0129ddce47cef3ffcecadfb15b970fcca;p=services%2Fpython-requests.git adding UTF-8 status codes --- 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'),