mirror of
https://github.com/zhigang1992/mitmproxy.git
synced 2026-05-31 01:35:14 +08:00
add status bar indicator for streaming
This commit is contained in:
@@ -165,6 +165,8 @@ class StatusBar(common.WWrap):
|
||||
opts.append("no-upstream-cert")
|
||||
if self.master.state.follow_focus:
|
||||
opts.append("following")
|
||||
if self.master.stream_large_bodies:
|
||||
opts.append("stream:%s" % utils.pretty_size(self.master.stream_large_bodies.max_size))
|
||||
|
||||
if opts:
|
||||
r.append("[%s]"%(":".join(opts)))
|
||||
|
||||
Reference in New Issue
Block a user