MCPcopy Create free account
hub / github.com/mitmproxy/mitmproxy / response

Function response

examples/contrib/save_streamed_data.py:117–119  ·  view source on GitHub ↗
(flow)

Source from the content-addressed store, hash-verified

115
116
117def response(flow):
118 if isinstance(flow.response.stream, StreamSaver):
119 flow.response.stream.done()
120
121
122def error(flow):

Callers

nothing calls this directly

Calls 1

doneMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…