HTTP status code character codes

While researching the Requests-HTTP library for the Python module, status_codes.py I discovered four character sequences corresponding to specific HTTP status codes (see below).

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

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

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

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

What is the history of these sequences? Where are they used and why?

+4
source share

Source: https://habr.com/ru/post/1687034/


All Articles