Cat for every HTTP Status
An API providing cat images corresponding to HTTP status codes, useful for funny error messages.
import requests
url = "https://http.cat/200.jpg"
response = requests.get(url)
# To save the image:
# with open("200.jpg", "wb") as f:
# f.write(response.content)
# Or to display it (example for web framework):
# from IPython.display import Image, display
# display(Image(data=response.content))Last 50 checks (10 min intervals)