(server)
| 137 | |
| 138 | @pytest.mark.anyio |
| 139 | async def test_head(server): |
| 140 | async with httpx.AsyncClient() as client: |
| 141 | response = await client.head(server.url) |
| 142 | assert response.status_code == 200 |
| 143 | assert response.text == "" |
| 144 | |
| 145 | |
| 146 | @pytest.mark.anyio |