prints the HTTP status code of either the default url or the url provided by the user
Project description
http-status-example
This is a test to learn Python packaging with setuptools.
Action
The script prints the HTTP status code of either the default url or the url provided by the user.
Usage
python -m get_request.py url[optional]
License
MIT License. See LICENSE for details.
Exceptions
requests.exceptions.HTTPError
requests.exceptions.ConnectionError
requests.exceptions.Timeout
requests.exceptions.RequestException
Project details
Release history Release notifications | RSS feed
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
Close
Hashes for http_status_example-1.0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7d5418ca14bf8045db3c99cb52aa3f27f7d8a59c8a37bc2efbabb8232f9047e3 |
|
MD5 | e0a80732bd6be793750032a8580bd519 |
|
BLAKE2b-256 | 17728eafa954f1bfb6506fd30283431e8167d62023cd9e6b28df4b93ffa62dd1 |
Close
Hashes for http_status_example-1.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c4a2313dcaf68b867cc05632a210881cb10dfe1ac64a976612b1b51aff228a4f |
|
MD5 | 39bf72b652fc3eea9c9bb4e42ae34dac |
|
BLAKE2b-256 | 6e0f7d85f99631337e490ec4c097f2bf7f54418d857fd37e053a4a319c968183 |