mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-26 18:18:25 +00:00
Merge pull request #3738 from gergesh/add-message-to-contentview-headers
Add message to ContentView metadata
This commit is contained in:
commit
ab08a0def6
@ -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