Httpmethods

Latest version: v1.0.5

Safety actively analyzes 681812 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

1.0.5

HTTP Status Codes

Also this module provides a list with all
[HTTP Status Codes](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status) and you can get only status description by status code or get all status.

A Simple Example
python
from httpmethods import getStatusCodes, getStatusByCode

print(getStatusByCode(200))
print(getStatusByCode(401))
print(getStatusCodes())


$ 200 OK
$ 401 Unauthorized
$ {
$ 100: "100 Continue",
$ 101: "101 Switching Protocols",
$ 103: "103 Early Hints",
$ ...
$ }

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.