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+).

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).

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.1.0.tar.gz (217.9 kB view details)

Uploaded Source

Built Distribution

HTTPolice-0.1.0-py2.py3-none-any.whl (105.3 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file HTTPolice-0.1.0.tar.gz.

File metadata

  • Download URL: HTTPolice-0.1.0.tar.gz
  • Upload date:
  • Size: 217.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for HTTPolice-0.1.0.tar.gz
Algorithm Hash digest
SHA256 2b1b2375ab81b178db876a11ee1f77e18acb17532104224051fdf5433651c86a
MD5 55f74a14f96fed9f2b4ff050c009a7c6
BLAKE2b-256 c8ff5e817f076b00ef0489877e656e734bb8f8c73b4b9a2b22ddbf76262067ee

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for HTTPolice-0.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 64b284575757e0980ef71093bc9aad961dc08b05956f82634d0e97ce0ff59a30
MD5 f38a7321080faa8296fa7f3bf4f511bd
BLAKE2b-256 d56643aad369439071913a9611fe9f3f0e377853249813013e8cfeade830a989

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