MCPcopy
hub / github.com/mitmproxy/mitmproxy / items

Method items

mitmproxy/http.py:172–176  ·  view source on GitHub ↗
(self, multi=False)

Source from the content-addressed store, hash-verified

170 super().insert(index, key, value)
171
172 def items(self, multi=False):
173 if multi:
174 return ((_native(k), _native(v)) for k, v in self.fields)
175 else:
176 return super().items()
177
178
179@dataclass

Callers 15

test_itemsMethod · 0.95
makeMethod · 0.95
makeMethod · 0.95
test_defaultsFunction · 0.45
test_itemsFunction · 0.45
test_quickhelpFunction · 0.45
__bool__Method · 0.45
build_headers_frameMethod · 0.45
_test_cancelFunction · 0.45

Calls 1

_nativeFunction · 0.85

Tested by 15

test_itemsMethod · 0.76
test_defaultsFunction · 0.36
test_itemsFunction · 0.36
test_quickhelpFunction · 0.36
build_headers_frameMethod · 0.36
_test_cancelFunction · 0.36
set_cookie_equalFunction · 0.36