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

Method http_event_received

test/mitmproxy/addons/test_proxyserver.py:610–616  ·  view source on GitHub ↗
(self, event: h3_events.H3Event)

Source from the content-addressed store, hash-verified

608 response.waiter.set_result(response)
609
610 def http_event_received(self, event: h3_events.H3Event) -> None:
611 if isinstance(event, h3_events.HeadersReceived):
612 self.http_headers_received(event)
613 elif isinstance(event, h3_events.DataReceived):
614 self.http_data_received(event)
615 else:
616 raise AssertionError(event)
617
618 def quic_event_received(self, event: quic_events.QuicEvent) -> None:
619 super().quic_event_received(event)

Callers 1

quic_event_receivedMethod · 0.95

Calls 2

http_headers_receivedMethod · 0.95
http_data_receivedMethod · 0.95

Tested by

no test coverage detected