HTTPolice
HTTPolice is a validator or “linter” for HTTP requests and responses. It can spot bad header syntax, inappropriate status codes, and other potential problems in your HTTP server or client.
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 (3.4+) library. There is a Django integration package and a third-party Chrome extension.
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). If you want to hack on HTTPolice, check out HACKING.rst.
BrowserStack kindly provide a free subscription for testing HTTPolice.
Metadata
Release files for HTTPolice 0.9.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| HTTPolice-0.9.0.tar.gz | 346.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| HTTPolice-0.9.0-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 485.1 kB
Release files / HTTPolice-0.9.0.tar.gz
| Download URL | HTTPolice-0.9.0.tar.gz |
|---|---|
| Size | 346.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b49423aa09b42172a8ff7e640e9163eb508dfb06d294a28b3cf79fa5e1671e8b
|
|
BLAKE2b-256 checksum How to use checksums |
b87b07a3583482e951019952dc7d183eb04ea7b23e4eac9ef2a04b4f83e57065
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.18.1 setuptools/41.0.1 requests-toolbelt/0.8.0 tqdm/4.14.0 CPython/3.6.7
|
Release files / HTTPolice-0.9.0-py2.py3-none-any.whl
| Download URL | HTTPolice-0.9.0-py2.py3-none-any.whl |
|---|---|
| Size | 138.1 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
49679215717eb287e5a898780eadc45e6b804f78dcfd651c0452c7cfcaae5542
|
|
BLAKE2b-256 checksum How to use checksums |
b4ebf2ac56733d62426c69cd57802a3b9f8e6f522a744922004a1ecb1daea80c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.18.1 setuptools/41.0.1 requests-toolbelt/0.8.0 tqdm/4.14.0 CPython/3.6.7
|