diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2016-10-03 12:03:11 +1100 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2016-10-04 08:13:56 +1100 |
commit | 1ae73b915783350105897d1d875b7b1f2979ffe0 (patch) | |
tree | 933d81dc1e1a269b32f3d0c2e157bbddb6d09bba /test | |
parent | b73569465391e6f159c6690fc08a566a2c0bbafb (diff) | |
download | mitmproxy-1ae73b915783350105897d1d875b7b1f2979ffe0.tar.gz mitmproxy-1ae73b915783350105897d1d875b7b1f2979ffe0.tar.bz2 mitmproxy-1ae73b915783350105897d1d875b7b1f2979ffe0.zip |
Add requestheaders event
HTTP1 only for now, HTTP2 coming next.
Diffstat (limited to 'test')
-rw-r--r-- | test/mitmproxy/builtins/test_script.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/mitmproxy/builtins/test_script.py b/test/mitmproxy/builtins/test_script.py index f92765ee..261adb65 100644 --- a/test/mitmproxy/builtins/test_script.py +++ b/test/mitmproxy/builtins/test_script.py @@ -175,7 +175,7 @@ class TestScriptLoader(mastertest.MasterTest): ), [f] ) evts = [i[1] for i in sc.ns.call_log] - assert evts == ['start', 'request', 'responseheaders', 'response', 'done'] + assert evts == ['start', 'requestheaders', 'request', 'responseheaders', 'response', 'done'] with m.handlecontext(): tutils.raises( |