mitmproxy/test/scripts/a
2011-02-02 10:09:16 +13:00

10 lines
188 B
Python
Executable File

#!/usr/bin/env python
import sys
sys.path.insert(0, "..")
from libmproxy import script
f = script.load_flow()
f.request.host = "TESTOK"
print >> sys.stderr, "DEBUG"
script.return_flow(f)