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

Function echo_repeated_headers_multi_items

tests/client/test_headers.py:13–15  ·  view source on GitHub ↗
(request: httpx.Request)

Source from the content-addressed store, hash-verified

11
12
13def echo_repeated_headers_multi_items(request: httpx.Request) -> httpx.Response:
14 data = {"headers": list(request.headers.multi_items())}
15 return httpx.Response(200, json=data)
16
17
18def echo_repeated_headers_items(request: httpx.Request) -> httpx.Response:

Callers

nothing calls this directly

Calls 1

multi_itemsMethod · 0.45

Tested by

no test coverage detected