Código de status do python para string
from http.client import responses
responses[200]
'OK'
responses[404]
'Not Found'
HosseinZaaferani
from http.client import responses
responses[200]
'OK'
responses[404]
'Not Found'