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.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 713b75deb7d727db584ed795fc5566ed9052e441b23b17d53d01ad853a42bda2 |
|
MD5 | dd7de8ea1d905341505d2327fa1d3705 |
|
BLAKE2b-256 | d77e1267305eacf8d70e7bbe8ec4383eda22456935d827656efbdba87ed28a4a |
Close
Hashes for http_status_example-1.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f8982190913d61a742189bfc22f648870390fd90f7f8ec71b3e526116412f174 |
|
MD5 | 9fedc0b38d0b2fafff2aaefefd23bb16 |
|
BLAKE2b-256 | 2b7a2e4e653f3c8ff16548ff3fc9b25a9282d7a616e2df6a5682c72f87b0d936 |