mitmproxy is an SSL/TLS-capable man-in-the-middle proxy for HTTP/1, HTTP/2 and Websockets. It provides a console interface that allows traffic flows to be inspected and edited on the fly. mitmdump is the command-line version of mitmproxy, with the same functionality but without the user interface. Think tcpdump for HTTP.

WWW: https://mitmproxy.org/
