Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python status code to string

from http.client import responses

responses[200]
'OK'

responses[404]
'Not Found'
 
PREVIOUS NEXT
Tagged: #python #status #code #string
ADD COMMENT
Topic
Name
3+2 =