mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-26 18:18:25 +00:00
Merge pull request #2191 from LuD1161/Issue#2139
improve flow_detail help text
This commit is contained in:
commit
2222f0b65a
@ -438,7 +438,13 @@ class Options(optmanager.OptManager):
|
|||||||
# Dump options
|
# Dump options
|
||||||
self.add_option(
|
self.add_option(
|
||||||
"flow_detail", int, 1,
|
"flow_detail", int, 1,
|
||||||
"Flow detail display level."
|
"""
|
||||||
|
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.
|
||||||
|
"""
|
||||||
)
|
)
|
||||||
|
|
||||||
self.update(**kwargs)
|
self.update(**kwargs)
|
||||||
|
Loading…
Reference in New Issue
Block a user