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.
This package provides mitmproxy integration for HTTPolice.
Many details from the main repo's
HACKING.rst apply here as well.