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

Method done

examples/contrib/save_streamed_data.py:40–45  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

38 self.path = None
39
40 def done(self):
41 if self.fh:
42 self.fh.close()
43 self.fh = None
44 # Make sure we have no circular references
45 self.flow = None
46
47 def __call__(self, data):
48 # End of stream?

Callers 4

__call__Method · 0.95
responseheadersFunction · 0.45
responseFunction · 0.45
errorFunction · 0.45

Calls 1

closeMethod · 0.45

Tested by

no test coverage detected