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

Function test_put

tests/client/test_client.py:163–167  ·  view source on GitHub ↗
(server)

Source from the content-addressed store, hash-verified

161
162
163def test_put(server):
164 with httpx.Client() as client:
165 response = client.put(server.url, content=b"Hello, world!")
166 assert response.status_code == 200
167 assert response.reason_phrase == "OK"
168
169
170def test_patch(server):

Callers

nothing calls this directly

Calls 1

putMethod · 0.45

Tested by

no test coverage detected