MCPcopy Create free account
hub / github.com/apify/crawlee-python / http_client

Function http_client

tests/unit/http_clients/test_httpx.py:21–23  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

19
20@pytest.fixture
21async def http_client() -> AsyncGenerator[HttpClient]:
22 async with HttpxHttpClient(http2=False) as client:
23 yield client
24
25
26async def test_common_headers_and_user_agent(server_url: URL, header_network: dict) -> None:

Callers

nothing calls this directly

Calls 1

HttpxHttpClientClass · 0.90

Tested by

no test coverage detected