mirror of
https://github.com/zhigang1992/mitmproxy.git
synced 2026-06-13 01:18:07 +08:00
- Move ScriptContext into script module - Use mock module instead of hand-rolled mock objects in tests
add_header.py Simple script that just adds a header to every request. dup_and_replay.py Duplicates each request, changes it, and then replays the modified request. flowbasic Basic use of mitmproxy as a library. modify_form.py Modify all form submissions to add a parameter. modify_querystring.py Modify all query strings to add a parameters. proxapp How to embed a WSGI app in a mitmproxy server 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. mitmproxywrapper.py Bracket mitmproxy run with proxy enable/disable on OS X