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

Function test_http_2

tests/unit/http_clients/test_http_clients.py:54–56  ·  view source on GitHub ↗
(custom_http_client: HttpClient)

Source from the content-addressed store, hash-verified

52 indirect=['custom_http_client'],
53)
54async def test_http_2(custom_http_client: HttpClient) -> None:
55 response = await custom_http_client.send_request('https://apify.com/')
56 assert response.http_version == 'HTTP/2'
57
58
59@pytest.mark.skipif(os.name == 'nt', reason='Skipped on Windows')

Callers

nothing calls this directly

Calls 1

send_requestMethod · 0.45

Tested by

no test coverage detected