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

Method mark_done

mitmproxy/proxy/layers/http/_http1.py:331–336  ·  view source on GitHub ↗
(
        self, *, request: bool = False, response: bool = False
    )

Source from the content-addressed store, hash-verified

329 raise AssertionError(f"Unexpected event: {event}")
330
331 def mark_done(
332 self, *, request: bool = False, response: bool = False
333 ) -> layer.CommandGenerator[None]:
334 yield from super().mark_done(request=request, response=response)
335 if self.request_done and not self.response_done:
336 self.state = self.wait
337
338
339class Http1Client(Http1Connection):

Callers 2

sendMethod · 0.95
sendMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected