Lint for HTTP
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
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
Hashes for HTTPolice-0.3.0.dev3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | da160728ea1391da926b63af77d86383b96db66ace5028240b79e8552c94467f |
|
MD5 | ed0b1b3d9a92d8b5c932f56e51cccbe0 |
|
BLAKE2b-256 | 470ef83450c14dab0d9229331a7e01cd49206ecf0c1bc6eac743dcf47efb5a17 |