mirror of
https://github.com/zhigang1992/mitmproxy.git
synced 2026-04-29 12:45:00 +08:00
Add requestheaders event
HTTP1 only for now, HTTP2 coming next.
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user