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

Function assert_no_data

test/mitmproxy/addons/test_proxyserver.py:688–692  ·  view source on GitHub ↗
(response: H3Response)

Source from the content-addressed store, hash-verified

686
687async def _test_echo(client: H3Client, strict: bool) -> None:
688 def assert_no_data(response: H3Response):
689 if strict:
690 assert response.data is None
691 else:
692 assert not response.data
693
694 headers = [
695 (b":scheme", b"https"),

Callers 1

_test_echoFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…