mirror of
https://github.com/vee1e/mitmproxy.git
synced 2026-09-02 10:47:14 +00:00
fix to make it so streaming with mitmproxy doesn't explode due to no reply on response
This commit is contained in:
parent
d9ac029ec7
commit
5bb4e37dfd
1 changed files with 1 additions and 1 deletions
|
|
@ -197,7 +197,7 @@ def format_flow(f, focus, extended=False, hostheader=False, padding=2):
|
|||
d.update(dict(
|
||||
resp_code = f.response.code,
|
||||
resp_is_replay = f.response.is_replay,
|
||||
resp_acked = f.response.reply.acked,
|
||||
resp_acked = hasattr(f.response, "reply") and f.response.reply.acked,
|
||||
resp_clen = contentdesc,
|
||||
resp_rate = "{0}/s".format(rate),
|
||||
))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue