From cd8ce3c88e8e2e08854e65f5708fb610a63d04e4 Mon Sep 17 00:00:00 2001 From: LuD1161 Date: Mon, 20 Mar 2017 14:23:57 +0530 Subject: [PATCH 1/2] Added the level definition that can be used --- mitmproxy/options.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mitmproxy/options.py b/mitmproxy/options.py index 703928032..6e1503ea6 100644 --- a/mitmproxy/options.py +++ b/mitmproxy/options.py @@ -433,7 +433,10 @@ class Options(optmanager.OptManager): ) self.add_option( "flow_detail", int, 1, - "Flow detail display level." + """ + Flow detail display level. LEVEL == 1 : Only Request and Response URL with response code. LEVEL == 2 : + All in 1 + Headers. LEVEL >= 3 : All in 2 + Full Response Text. + """ ) self.update(**kwargs) From 79100593c2c05f73741d084df6d79f7fc8a52ec9 Mon Sep 17 00:00:00 2001 From: Thomas Kriechbaumer Date: Fri, 19 May 2017 12:12:40 +0800 Subject: [PATCH 2/2] Update options.py --- mitmproxy/options.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/mitmproxy/options.py b/mitmproxy/options.py index 6e1503ea6..b87d5dbd8 100644 --- a/mitmproxy/options.py +++ b/mitmproxy/options.py @@ -434,8 +434,11 @@ class Options(optmanager.OptManager): self.add_option( "flow_detail", int, 1, """ - Flow detail display level. LEVEL == 1 : Only Request and Response URL with response code. LEVEL == 2 : - All in 1 + Headers. LEVEL >= 3 : All in 2 + Full Response Text. + The display detail level for flows in mitmdump: 0 (almost quiet) to 3 (very verbose). + 0: shortened request URL, response status code, WebSocket and TCP message notifications. + 1: full request URL with response status code + 2: 1 + HTTP headers + 3: 2 + full response content, content of WebSocket and TCP messages. """ )