Skip to main content

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. There is also 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.

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

Uploaded Source

Built Distribution

HTTPolice-0.5.1-py2.py3-none-any.whl (138.9 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

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

File hashes

Hashes for HTTPolice-0.5.1.tar.gz
Algorithm Hash digest
SHA256 0ee5101b8c0e2f26dc97487ef9738002f554329f5dc539596c53bd67a88bef16
MD5 cd34756fee3048e1d0725a8cc5507e83
BLAKE2b-256 5562e775aa4b5b6a36fb5845225fd43e85914b5b177f769e741108cb91b41925

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for HTTPolice-0.5.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 3939d939ec3e674dac339df1cb6f9c33c32ea9889b5a5061e6c5047fce1b375d
MD5 30880e5408ead029dd8a5294d5544bc5
BLAKE2b-256 aaf6d4984e69d2c910528bf0dd56436ca987c14cf48b8ddf4cc5313da35c6e9a

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