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

Function is_addr

mitmproxy/addons/cut.py:27–28  ·  view source on GitHub ↗
(v)

Source from the content-addressed store, hash-verified

25
26
27def is_addr(v):
28 return isinstance(v, tuple) and len(v) > 1
29
30
31def extract(cut: str, f: flow.Flow) -> str | bytes:

Callers 1

extractFunction · 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…