Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/mitmproxy/mitmproxy
/ echo_response
Method
echo_response
examples/contrib/test_jsondump.py:14–16 ·
view source on GitHub ↗
(self, request, context)
Source
from the content-addressed store, hash-verified
12
13
class
TestJSONDump:
14
def
echo_response(self, request, context):
15
self.request = {
"json"
: request.json(),
"headers"
: request.headers}
16
return
""
17
18
def
flow(self, resp_content=b
"message"
):
19
times = dict(
Callers
nothing calls this directly
Calls
1
json
Method · 0.45
Tested by
no test coverage detected