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
from http_status_example.run import get_request
get_request.py(url)
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.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b14ac83cc51f1a7e21e81ae79e7c0bf9755d8299d3713bdbcebfa174edf4f7c2 |
|
MD5 | 9e3a9f135d958372aacbec3988241112 |
|
BLAKE2b-256 | 3428da0e9fc5214fe14854b8e8afda8960f21a89c6752f5883dfec2809f7f7e4 |
Close
Hashes for http_status_example-1.0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dc7e392f2e97e39f4b094ef6810312cbab66245df67c6e778e140bcda0402fdf |
|
MD5 | 061fda0974551c0b41a300708a1d6f0d |
|
BLAKE2b-256 | 6c0a314f4aea28a87afe1dd57393a8cf88ccad08a7e9c3c97393d9d795bf45f2 |