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

Function test_put

tests/client/test_async_client.py:147–150  ·  view source on GitHub ↗
(server)

Source from the content-addressed store, hash-verified

145
146@pytest.mark.anyio
147async def test_put(server):
148 async with httpx.AsyncClient() as client:
149 response = await client.put(server.url, content=b"Hello, world!")
150 assert response.status_code == 200
151
152
153@pytest.mark.anyio

Callers

nothing calls this directly

Calls 1

putMethod · 0.45

Tested by

no test coverage detected