Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

The set of standard http constants for headers and statuses

Project description

Http Constants

A set of constants for HTTP statuses and headers.


You can install Http Constants from PyPI:

pip install http-constants

The library is supported on Python 3.7+.



from http_constants.headers import HttpHeaders
> 'Accept'
> 'application/json'


from http_constants.status import HttpStatus
<HttpStatus.SERVICE_UNAVAILABLE: (503, 'Service Unavailable')>
> 503

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for http-constants, version 0.4.0
Filename, size File type Python version Upload date Hashes
Filename, size http_constants-0.4.0-py2.py3-none-any.whl (6.2 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes
Filename, size http-constants-0.4.0.tar.gz (5.9 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page