Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/encode/httpx
/ test_put
Function
test_put
tests/test_api.py:57–60 ·
view source on GitHub ↗
(server)
Source
from the content-addressed store, hash-verified
55
56
57
def
test_put(server):
58
response = httpx.put(server.url, content=b
"Hello, world!"
)
59
assert response.status_code == 200
60
assert response.reason_phrase ==
"OK"
61
62
63
def
test_patch(server):
Callers
nothing calls this directly
Calls
1
put
Method · 0.45
Tested by
no test coverage detected