MCPcopy
hub / github.com/pallets/werkzeug / items

Method items

src/werkzeug/datastructures/headers.py:211–215  ·  view source on GitHub ↗
(self, lower: bool = False)

Source from the content-addressed store, hash-verified

209 return self.getlist(name)
210
211 def items(self, lower: bool = False) -> t.Iterable[tuple[str, str]]:
212 for key, value in self:
213 if lower:
214 key = key.lower()
215 yield key, value
216
217 def keys(self, lower: bool = False) -> t.Iterable[str]:
218 for key, _ in self.items(lower):

Callers 15

keysMethod · 0.95
valuesMethod · 0.95
test_appFunction · 0.45
_iter_dataFunction · 0.45
get_environMethod · 0.45
_from_response_headerMethod · 0.45
__iter__Method · 0.45
dump_options_headerFunction · 0.45
dump_headerFunction · 0.45
dump_csp_headerFunction · 0.45
_walkFunction · 0.45
make_environMethod · 0.45

Calls

no outgoing calls

Tested by 4

test_appFunction · 0.36
_iter_dataFunction · 0.36
get_environMethod · 0.36
_from_response_headerMethod · 0.36