add_header.py Simple script that just adds a header to every request. flowbasic Basic use of mitmproxy as a library. stub.py Script stub with a method definition for every event. stickycookies An example of writing a custom proxy with libmproxy. upsidedownternet.py Rewrites traffic to turn PNGs upside down.