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

Function test_copy_headers_method

tests/models/test_headers.py:53–57  ·  tests/models/test_headers.py::test_copy_headers_method
()

Source from the content-addressed store, hash-verified

51
52
53def test_copy_headers_method():
54 headers = httpx.Headers({class="st">"custom": class="st">"example"})
55 headers_copy = headers.copy()
56 assert headers == headers_copy
57 assert headers is not headers_copy
58
59
60def test_copy_headers_init():

Callers

nothing calls this directly

Calls 1

copyMethod · 0.95

Tested by

no test coverage detected