Skip to main content

status

HTTP status codes for GET and POST requests

About

status is a cross-platform command line application that returns the HTTP response status code for a GET or POST request to a user submitted URL.

It has been tested in cPython 2.7.x, 3.4.x and pypy 2.4.0 (Python v2.7.8)

Install

You can install status with the Python package manager pip:

pip install status

or download the source repository and run the following command in the top level source directory:

python setup.py install

Upgrade

You can upgrade status with pip. Use the following command:

pip install --upgrade status

or download the source repository and use the above instructions for a new install from source.

Usage

status will report the returned status code with a GET or POST request. The general syntax is:

status [option] <url>

It is not necessary to include the protocol (http://) in your URL. If you enter a URL without the protocol, status will prefix it with http://. If you intend to test with the secure HTTP protocol (https://), then make this explicit in your URL.

GET Request Status Codes

GET is the default request type. Enter the URL as an argument to status without an option:

status <url>

POST Request Status Codes

To use a POST request, add the -p or --post option:

status -p <url>

Versions

v0.2.5 - bug fix: connection error handling and new tests in cPython 2.7.9, 3.4.2 + pypy 2.4.0

v0.2.4 - updated application dependencies

v0.2.3 - updated application dependencies

v0.2.2 - minor bug fixes, documentation updates

v0.2.1 - exception handling for HTTP connection errors, help documentation updates

v0.2.0 - initial release

Metadata

Release files for status 0.2.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for status 0.2.5
File Size Uploaded
status-0.2.5.tar.gz 5.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for status 0.2.5
File Interpreter ABI Platform
status-0.2.5-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 14.4 kB

Release files / status-0.2.5.tar.gz

Download URL status-0.2.5.tar.gz
Size 5.7 kB
Tags Source
SHA-256 checksum
How to use checksums
02bb12dc5870044ef4c059e14f33914101544903cf2bf8a937559a4db1d503eb
BLAKE2b-256 checksum
How to use checksums
83f279e204bd922203efaa5d79c08f3246ba0aca29bb550310761cbfb9b4868f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / status-0.2.5-py2.py3-none-any.whl

Download URL status-0.2.5-py2.py3-none-any.whl
Size 8.7 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
bf1a320a47954517acf24ac4c2ad230fb55fdafe8eabac0fd24e11d78586924e
BLAKE2b-256 checksum
How to use checksums
35156f70f3de391668c0d2327d70279c7c888406025085949cd5906e37c05a34
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.2.5 This release

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.1

2 release files

0.1.0

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page