mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-22 15:37:45 +00:00
content view: fix fallback
This commit is contained in:
parent
02d80631dc
commit
b7b46bac46
@ -199,7 +199,7 @@ class FlowView(tabs.Tabs):
|
||||
s = "Content viewer failed: \n" + traceback.format_exc()
|
||||
signals.add_event(s, "error")
|
||||
description, lines = contentview.get_content_view(
|
||||
viewmode, headers, content, limit, is_request
|
||||
contentview.get("Raw"), headers, content, limit, is_request
|
||||
)
|
||||
description = description.replace("Raw", "Couldn't parse: falling back to Raw")
|
||||
text_objects = [urwid.Text(l) for l in lines]
|
||||
|
Loading…
Reference in New Issue
Block a user