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

Function echo_repeated_headers_items

tests/client/test_headers.py:18–20  ·  tests/client/test_headers.py::echo_repeated_headers_items
(request: httpx.Request)

Source from the content-addressed store, hash-verified

16
17
18def echo_repeated_headers_items(request: httpx.Request) -> httpx.Response:
19 data = {class="st">"headers": list(request.headers.items())}
20 return httpx.Response(200, json=data)
21
22
23def test_client_header():

Callers

nothing calls this directly

Calls 1

itemsMethod · 0.45

Tested by

no test coverage detected