Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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_items
Method · 0.95
make
Method · 0.95
make
Method · 0.95
test_defaults
Function · 0.45
test_items
Function · 0.45
test_get_urlencoded_form
Method · 0.45
test_get_multipart_form
Method · 0.45
test_set_multipart_form
Method · 0.45
test_quickhelp
Function · 0.45
__bool__
Method · 0.45
build_headers_frame
Method · 0.45
_test_cancel
Function · 0.45
Calls
1
_native
Function · 0.85
Tested by
15
test_items
Method · 0.76
test_defaults
Function · 0.36
test_items
Function · 0.36
test_get_urlencoded_form
Method · 0.36
test_get_multipart_form
Method · 0.36
test_set_multipart_form
Method · 0.36
test_quickhelp
Function · 0.36
build_headers_frame
Method · 0.36
_test_cancel
Function · 0.36
test_roundtrip_format_examples
Method · 0.36
test_roundtrip_file_examples
Method · 0.36
set_cookie_equal
Function · 0.36