Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/encode/httpx
/ test_head
Function
test_head
tests/client/test_client.py:156–160 ·
view source on GitHub ↗
(server)
Source
from the content-addressed store, hash-verified
154
155
156
def
test_head(server):
157
with
httpx.Client()
as
client:
158
response = client.head(server.url)
159
assert response.status_code == 200
160
assert response.reason_phrase ==
"OK"
161
162
163
def
test_put(server):
Callers
nothing calls this directly
Calls
1
head
Method · 0.45
Tested by
no test coverage detected