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

Uploaded Source

Built Distribution

HTTPolice-0.4.0-py2.py3-none-any.whl (131.3 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

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

File hashes

Hashes for HTTPolice-0.4.0.tar.gz
Algorithm Hash digest
SHA256 5e3a54a7fcce84ad62bad66d5c547fcb844254916e9d6e1da98ce31c73cc796d
MD5 0a5f3c7984193da897eb27218a2c1224
BLAKE2b-256 86e29d0373facc8cea18bf111735c16705d6c10c9b2d84d86d79c2bfc6cb22e8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for HTTPolice-0.4.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 f8452b9f9c7eb6a2672968ce0e3dee6aa5b988cefff87bc62fe27054bafc0ce4
MD5 40331119911655196b56e22a2a26c790
BLAKE2b-256 3abf70f040b5f973a5fb2d7101796e903b6c3477e9c1c782779f36a22e525c98

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