MCPcopy
hub / github.com/mitmproxy/mitmproxy / BytesMatching

Function BytesMatching

test/mitmproxy/proxy/tutils.py:423–424  ·  view source on GitHub ↗
(match: bytes)

Source from the content-addressed store, hash-verified

421
422# noinspection PyPep8Naming
423def BytesMatching(match: bytes) -> bytes | _AnyStrPlaceholder[bytes]:
424 return _AnyStrPlaceholder(match)
425
426
427# noinspection PyPep8Naming

Callers 15

test_untrusted_certMethod · 0.90
test_request_streamingFunction · 0.90
test_body_size_limitFunction · 0.90
test_server_unreachableFunction · 0.90
test_server_abortsFunction · 0.90
test_proxy_chainFunction · 0.90
test_http_server_abortsFunction · 0.90
test_reuse_errorFunction · 0.90
test_request_smugglingFunction · 0.90

Calls 1

_AnyStrPlaceholderClass · 0.85

Tested by 15

test_untrusted_certMethod · 0.72
test_request_streamingFunction · 0.72
test_body_size_limitFunction · 0.72
test_server_unreachableFunction · 0.72
test_server_abortsFunction · 0.72
test_proxy_chainFunction · 0.72
test_http_server_abortsFunction · 0.72
test_reuse_errorFunction · 0.72
test_request_smugglingFunction · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…