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

Function test_head

tests/test_api.py:51–54  ·  view source on GitHub ↗
(server)

Source from the content-addressed store, hash-verified

49
50
51def test_head(server):
52 response = httpx.head(server.url)
53 assert response.status_code == 200
54 assert response.reason_phrase == "OK"
55
56
57def test_put(server):

Callers

nothing calls this directly

Calls 1

headMethod · 0.45

Tested by

no test coverage detected