Comment

Comment by itsmemattchung

I refer to HTTP Status codes all the time throughout the day and use Python's built-in http library:

  >>> from http import HTTPStatus
  >>> HTTPStatus.OK
  <HTTPStatus.OK: 200>
  >>> HTTPStatus(404)
  <HTTPStatus.NOT_FOUND: 404>

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton