aboutsummaryrefslogtreecommitdiffstats
path: root/test/scripts/all.py
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2014-07-20 11:17:53 +0200
committerMaximilian Hils <git@maximilianhils.com>2014-07-20 11:17:53 +0200
commit7398db80db004546070139c0c7e79bba4f92b318 (patch)
tree79f9a365cb06a3f08d75f4f1e8f856ba92a49275 /test/scripts/all.py
parent0ba5a2cf194ebbba15e6ef013f0456feb0ffd9fc (diff)
downloadmitmproxy-7398db80db004546070139c0c7e79bba4f92b318.tar.gz
mitmproxy-7398db80db004546070139c0c7e79bba4f92b318.tar.bz2
mitmproxy-7398db80db004546070139c0c7e79bba4f92b318.zip
simplify responseheader scripthook
Diffstat (limited to 'test/scripts/all.py')
-rw-r--r--test/scripts/all.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/scripts/all.py b/test/scripts/all.py
index 15a5fc02..3acaf694 100644
--- a/test/scripts/all.py
+++ b/test/scripts/all.py
@@ -7,15 +7,15 @@ def serverconnect(ctx, cc):
ctx.log("XSERVERCONNECT")
log.append("serverconnect")
-def request(ctx, r):
+def request(ctx, f):
ctx.log("XREQUEST")
log.append("request")
-def response(ctx, r):
+def response(ctx, f):
ctx.log("XRESPONSE")
log.append("response")
-def responseheaders(ctx, r):
+def responseheaders(ctx, f):
ctx.log("XRESPONSEHEADERS")
log.append("responseheaders")