mitmproxy/test/scripts/err_return
Aldo Cortesi b886f808be Add an external script API.
External scripts can read a flow, modify it, and then return it to mitmproxy
using a simple API.

The "|" keyboard shortcut within mitmproxy prompts the user for a script.
2011-01-31 13:26:56 +13:00

6 lines
71 B
Python
Executable File

#!/usr/bin/env python
import sys
sys.path.insert(0, "..")
sys.exit(1)