MCPcopy
hub / github.com/mitmproxy/mitmproxy / test_view_http3

Function test_view_http3

test/mitmproxy/contentviews/test__view_http3.py:27–30  ·  view source on GitHub ↗
(data)

Source from the content-addressed store, hash-verified

25 ],
26)
27def test_view_http3(data):
28 t = tflow.ttcpflow(messages=[TCPMessage(from_client=len(data) > 16, content=data)])
29 t.metadata["quic_is_unidirectional"] = False
30 assert http3.prettify(b"", Metadata(flow=t, tcp_message=t.messages[0])) or not data
31
32
33@pytest.mark.parametrize(

Callers

nothing calls this directly

Calls 3

TCPMessageClass · 0.90
MetadataClass · 0.90
prettifyMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…