Skip to main content

Lint for HTTP requests and responses

Project description

HTTPolice is a lint for HTTP requests and responses. It checks them for conformance to standards and best practices.

See example report.

As a command-line tool, it can read HAR files or raw HTTP/1.x TCP streams. It can integrate with mitmproxy for TLS-encrypted and HTTP/2 traffic. Or you can use it as a Python library (for Python 2.7 and 3.4+), with optional Django integration.

Start with the quickstart.

A full user manual is available. Also, a list of all problems HTTPolice can detect.

HTTPolice was partly inspired by REDbot, another QA tool for the Web. But the approach is different: instead of actively testing your server, HTTPolice just analyzes anything you feed into it. Thus, it can be used on requests and responses captured from a real process or test suite.

HTTPolice is hosted on GitHub and released under the MIT license (see LICENSE.txt).

BrowserStack kindly provide a free subscription for testing HTTPolice.

Problems, suggestions? Feel free to email the author at vfaronov@gmail.com.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

HTTPolice-0.3.0.dev1.tar.gz (100.5 kB view details)

Uploaded Source

Built Distribution

HTTPolice-0.3.0.dev1-py2.py3-none-any.whl (124.4 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file HTTPolice-0.3.0.dev1.tar.gz.

File metadata

File hashes

Hashes for HTTPolice-0.3.0.dev1.tar.gz
Algorithm Hash digest
SHA256 979c33f011f67a72f2dd69df48a5beaa7e75bcfff042533c61ecebf033766b9e
MD5 c64a8730ec43f369e1458085db712219
BLAKE2b-256 0ddc58fe5d086ae4330e13b011a638335d32ffe29eb10a9050d152ab3059cab9

See more details on using hashes here.

File details

Details for the file HTTPolice-0.3.0.dev1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for HTTPolice-0.3.0.dev1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 5a9261586f4b6f9783907e1e0ba4c5ef6109ec868d410ce338a1c33c9d702244
MD5 79a1dde46459eaa5a4df18cadbeb2b85
BLAKE2b-256 9ce2ddeb5f42981b2fd2bfcd37780691d4602d8479c254fdcc6af02eb1608c50

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page