aboutsummaryrefslogtreecommitdiffstats
path: root/mitmproxy/addons/dumper.py
diff options
context:
space:
mode:
Diffstat (limited to 'mitmproxy/addons/dumper.py')
-rw-r--r--mitmproxy/addons/dumper.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/mitmproxy/addons/dumper.py b/mitmproxy/addons/dumper.py
index d690c000..fb92c629 100644
--- a/mitmproxy/addons/dumper.py
+++ b/mitmproxy/addons/dumper.py
@@ -116,7 +116,8 @@ class Dumper:
else:
client = ""
- method = flow.request.method
+ pushed = ' PUSH_PROMISE' if 'h2-pushed-stream' in flow.metadata else ''
+ method = flow.request.method + pushed
method_color = dict(
GET="green",
DELETE="red"