mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-23 00:01:36 +00:00
Add message to ContentView metadata
This commit is contained in:
parent
1f91f5ce12
commit
056a9024ec
@ -103,6 +103,7 @@ def get_message_content_view(viewname, message):
|
||||
metadata["query"] = message.query
|
||||
if isinstance(message, http.Message):
|
||||
metadata["headers"] = message.headers
|
||||
metadata["message"] = message
|
||||
|
||||
description, lines, error = get_content_view(
|
||||
viewmode, content, **metadata
|
||||
|
Loading…
Reference in New Issue
Block a user