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 codesGetting 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.
Source Distribution
Built Distribution
File details
Details for the file http-status-code-0.0.11.tar.gz
.
File metadata
- Download URL: http-status-code-0.0.11.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.22.0 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/18.0.1 rfc3986/2.0.0 colorama/0.4.3 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3922f09f57019792cf1f000d9d01ec7ebd74cdf800520a127f60056aadaca351 |
|
MD5 | d16eac868ea0c9318bb30aec62dd2765 |
|
BLAKE2b-256 | 145b4bfff8c8c7bb3b42639e6db8a2337eb2b21aff1e9e41a3d5a54ce61e96f9 |
File details
Details for the file http_status_code-0.0.11-py3-none-any.whl
.
File metadata
- Download URL: http_status_code-0.0.11-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.22.0 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/18.0.1 rfc3986/2.0.0 colorama/0.4.3 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e90f414377feb7917edabe90699923dbcdb410e70aae34f701d4e444c5fe7237 |
|
MD5 | 980454809f9d1ac0fafe40cbedb67538 |
|
BLAKE2b-256 | 681be3fa1afc71647dabe44690bbd00ee149890a1f229faba8238dd00b3dad07 |