Skip to main content

This module contains a simple library with a single class to define HTTP status codes

Project description

http-status-code

Introduction
Getting Started
Example
Contributors
License

Introduction

This module contains a simple library with a single class to define HTTP status codes

Getting Started

In order to install, open the command prompt and type ✌️:
pip install http_status_code

The following status codes are available in the standard module: General:

  • Successful request: 200
  • Bad request: 400
  • You are not authorized: 403
  • The required resource is not found: 404
  • Request arguments (query string or body) validation error: 410

Authentication

  • Invalid credentials: 430
  • Your account is inactive: 431
  • Missing token: 432
  • The token is invalid: 433
  • The token is expired: 434
  • Wrong token error (related to refresh and access tokens) 435
  • You have logged out invalid credentials. Please log in again: 436

Database

  • This record already exists: 630
  • This record is related to other records. Therefore, it cannot be deleted: 631

Example

In order to use refer to the following [example](https://github.com/Quakingaspen-codehub/http_status_code/blob/master/Example.ipynb)

Contributors

This project exists thanks to all the people who contribute. [Contribute]. ""

License

This library is licensed under the MIT License - see the LICENSE.md file for details.

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-status-code, version 0.0.8
Filename, size File type Python version Upload date Hashes
Filename, size http_status_code-0.0.8-py3-none-any.whl (4.4 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size http-status-code-0.0.8.tar.gz (2.9 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page