MCPcopy
hub / github.com/encode/httpx / keys

Method keys

httpx/_models.py:202–203  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

200 return [(raw_key, value) for raw_key, _, value in self._list]
201
202 def keys(self) -> typing.KeysView[str]:
203 return {key.decode(self.encoding): None for _, key, value in self._list}.keys()
204
205 def values(self) -> typing.ValuesView[str]:
206 values_dict: dict[str, str] = {}

Callers 6

updateMethod · 0.95
__iter__Method · 0.95
test_headersFunction · 0.95
_multipart.pyFile · 0.45
_client.pyFile · 0.45

Calls 1

decodeMethod · 0.45

Tested by 2

test_headersFunction · 0.76