MCPcopy
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
57def 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
63def test_patch(server):

Callers

nothing calls this directly

Calls 1

putMethod · 0.45

Tested by

no test coverage detected