HTTP Status codes symbol sequences

Viewed 124

During exploration of the Requests—HTTP library for Python status_codes.py module, I found four symbol sequences corresponding to certain HTTP status codes (see below).

\\o/ for 200 at line 13:
200: ('ok', 'okay', 'all_ok', 'all_okay', 'all_good', '\\o/', '✓'),

\\o- for 301 at line 26:
301: ('moved_permanently', 'moved', '\\o-'),

-o- for 404 at line 41:
404: ('not_found', '-o-'),

/o\\ for 500 at line 72:
500: ('internal_server_error', 'server_error', '/o\\', '✗'),

Which history of that sequences? Where they are used and what for?

0 Answers
Related