Skip to main content
PyCon US is happening May 14th-22nd in Pittsburgh, PA USA.  Learn more

Returns a string detailing of what a given status code means.

Project description

HTTPStatusCodes

HTTPStatusCodes returns a string detailing of what a given status code means.

Install

pip install HTTPStatusCodes

How to use

from HTTPStatusCodes import get_status_string
status = get_status_string(200)
print (status)
>>> 'OK'

Alternatively

import HTTPStatusCodes
status = HTTPStatusCodes.get_status_string(200)
print(status)
>>> 'OK'

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page