Awesome Open Source
Awesome Open Source


.. status: .. image:: :target: .. image:: :target: .. image:: :target: .. image:: :target:

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.


Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
python (52,051
testing (941
http (914
rest (480
validator (102
lint (98
qa (55
standards (32

Find Open Source By Browsing 7,000 Topics Across 59 Categories