Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aio-libs/aiohttp
/ functions
Functions
5,960 in github.com/aio-libs/aiohttp
⨍
Functions
5,960
◇
Types & classes
464
↳
Endpoints
71
Function
test_tcp_connector_close_abort_ssl_connections_in_conns
Test that SSL connections in _conns are aborted when ssl_shutdown_timeout=0.
tests/test_connector.py:2447
Function
test_tcp_connector_close_abort_ssl_when_shutdown_timeout_zero
Test that close() uses abort() for SSL connections when ssl_shutdown_timeout=0.
tests/test_connector.py:2250
Function
test_tcp_connector_close_doesnt_abort_non_ssl_when_shutdown_timeout_zero
Test that close() still uses close() for non-SSL connections even when ssl_shutdown_timeout=0.
tests/test_connector.py:2280
Function
test_tcp_connector_close_race_condition
Test closing TCPConnector while DNS resolution is in-flight.
tests/test_connector.py:4616
Function
test_tcp_connector_close_resolver
()
tests/test_connector.py:1600
Function
test_tcp_connector_ctor
()
tests/test_connector.py:2097
Function
test_tcp_connector_ctor_fingerprint_valid
( loop: asyncio.AbstractEventLoop, )
tests/test_connector.py:2640
Function
test_tcp_connector_dns_cache_forever
(loop, dns_response)
tests/test_connector.py:1342
Function
test_tcp_connector_dns_cache_not_expired
(loop, dns_response)
tests/test_connector.py:1330
Function
test_tcp_connector_dns_throttle_requests
(loop, dns_response)
tests/test_connector.py:1371
Function
test_tcp_connector_dns_throttle_requests_cancelled_when_close
( loop, dns_response )
tests/test_connector.py:1403
Function
test_tcp_connector_dns_throttle_requests_exception_spread
(loop)
tests/test_connector.py:1385
Function
test_tcp_connector_dns_tracing
(loop, dns_response)
tests/test_connector.py:1466
Function
test_tcp_connector_dns_tracing_cache_disabled
(loop, dns_response)
tests/test_connector.py:1512
Function
test_tcp_connector_dns_tracing_throttle_requests
(loop, dns_response)
tests/test_connector.py:1568
Function
test_tcp_connector_do_not_raise_connector_ssl_error
( aiohttp_server, ssl_ctx, client_ssl_ctx, host, )
tests/test_connector.py:3971
Function
test_tcp_connector_family_is_respected
(loop: Any)
tests/test_connector.py:1089
Function
test_tcp_connector_fingerprint_fail
( aiohttp_server, aiohttp_client, ssl_ctx, tls_certificate_fingerprint_sha256, )
tests/test_client_functional.py:877
Function
test_tcp_connector_fingerprint_ok
( aiohttp_server, aiohttp_client, ssl_ctx, tls_certificate_fingerprint_sha256, )
tests/test_client_functional.py:850
Function
test_tcp_connector_happy_eyeballs
( loop: Any, happy_eyeballs_delay: float | None )
tests/test_connector.py:930
Function
test_tcp_connector_interleave
(loop: Any)
tests/test_connector.py:1002
Function
test_tcp_connector_multiple_hosts_errors
(loop)
tests/test_connector.py:763
Function
test_tcp_connector_multiple_hosts_one_timeout
( loop: asyncio.AbstractEventLoop, request_url: str, )
tests/test_connector.py:1157
Function
test_tcp_connector_raise_connector_ssl_error
( aiohttp_server, ssl_ctx, )
tests/test_connector.py:3929
Function
test_tcp_connector_rejects_non_canonical_ipv4_alias
Legacy numeric IPv4 aliases must not bypass the configured resolver.
tests/test_connector.py:1290
Function
test_tcp_connector_resolve_host
(loop: asyncio.AbstractEventLoop)
tests/test_connector.py:1269
Function
test_tcp_connector_server_hostname_default
( loop: Any, start_connection: mock.AsyncMock )
tests/test_connector.py:725
Function
test_tcp_connector_server_hostname_override
( loop: Any, start_connection: mock.AsyncMock )
tests/test_connector.py:743
Function
test_tcp_connector_socket_factory
Check that socket factory is called
tests/test_connector.py:4455
Function
test_tcp_connector_ssl_shutdown_timeout
( loop: asyncio.AbstractEventLoop, )
tests/test_connector.py:2111
Function
test_tcp_connector_ssl_shutdown_timeout_nonzero_passed
Test that non-zero ssl_shutdown_timeout IS passed to create_connection on Python 3.11+.
tests/test_connector.py:2419
Function
test_tcp_connector_ssl_shutdown_timeout_not_passed_pre_311
( loop: asyncio.AbstractEventLoop, start_connection: mock.AsyncMock )
tests/test_connector.py:2220
Function
test_tcp_connector_ssl_shutdown_timeout_passed_to_create_connection
( loop: asyncio.AbstractEventLoop, start_connection: mock.AsyncMock )
tests/test_connector.py:2159
Function
test_tcp_connector_ssl_shutdown_timeout_pre_311
Test that both deprecation and runtime warnings are issued on Python < 3.11.
tests/test_connector.py:2140
Function
test_tcp_connector_ssl_shutdown_timeout_sentinel_no_warning_pre_311
Test that no warning is issued when sentinel is used on Python < 3.11.
tests/test_connector.py:2371
Function
test_tcp_connector_ssl_shutdown_timeout_warning_pre_311
Test that a warning is issued for non-zero ssl_shutdown_timeout on Python < 3.11.
tests/test_connector.py:2310
Function
test_tcp_connector_ssl_shutdown_timeout_zero_no_warning_pre_311
Test that no warning is issued for ssl_shutdown_timeout=0 on Python < 3.11.
tests/test_connector.py:2351
Function
test_tcp_connector_ssl_shutdown_timeout_zero_not_passed
Test that ssl_shutdown_timeout=0 is NOT passed to create_connection.
tests/test_connector.py:2388
Function
test_tcp_connector_use_dns_cache_disabled
(loop, dns_response)
tests/test_connector.py:1354
Function
test_tcp_connector_uses_provided_local_addr
(aiohttp_server)
tests/test_connector.py:4030
Function
test_tcp_nodelay_enable
()
tests/test_tcp_helpers.py:34
Function
test_tcp_nodelay_enable_and_disable
()
tests/test_tcp_helpers.py:42
Function
test_tcp_nodelay_enable_ipv6
()
tests/test_tcp_helpers.py:53
Function
test_tcp_nodelay_enable_no_socket
()
tests/test_tcp_helpers.py:71
Function
test_tcp_nodelay_enable_unix
()
tests/test_tcp_helpers.py:62
Function
test_tcp_nodelay_exception
()
tests/test_tcp_helpers.py:23
Function
test_tcpsite_default_host
(make_runner: Any)
tests/test_web_runner.py:164
Function
test_tcpsite_empty_str_host
(make_runner: Any)
tests/test_web_runner.py:182
Function
test_tcpsite_ephemeral_port
(make_runner: Any)
tests/test_web_runner.py:243
Function
test_te_header_non_ascii
(parser: HttpRequestParser)
tests/test_http_parser.py:952
Function
test_template_based_header_construction
Test that the template-based header construction works correctly.
tests/test_client_middleware_digest_auth.py:580
Function
test_ten_compressed_responses_iter_chunked_1mb
Benchmark compressed GET request read via large iter_chunked.
tests/test_benchmarks_client.py:514
Function
test_ten_streamed_responses_iter_any
Benchmark 10 streamed responses using iter_any.
tests/test_benchmarks_client.py:416
Function
test_ten_streamed_responses_iter_chunked_1mb
Benchmark 10 streamed responses using iter_chunked 1 MiB.
tests/test_benchmarks_client.py:480
Function
test_ten_streamed_responses_iter_chunked_4096
Benchmark 10 streamed responses using iter_chunked 4096.
tests/test_benchmarks_client.py:448
Function
test_ten_streamed_responses_iter_chunks
Benchmark 10 streamed responses using iter_chunks.
tests/test_benchmarks_client.py:543
Function
test_ten_web_middlewares
Benchmark 100 requests with 10 middlewares.
tests/test_benchmarks_web_middleware.py:19
Function
test_terminal_classes_has_status_code
()
tests/test_web_exceptions.py:84
Function
test_terminate
(loop: asyncio.AbstractEventLoop, conn: mock.Mock)
tests/test_client_request.py:1382
Function
test_terminate_with_closed_loop
(loop, conn)
tests/test_client_request.py:1411
Function
test_terminate_without_writer
(loop)
tests/test_client_request.py:1443
Function
test_test_client_head
(loop, test_client)
tests/test_test_utils.py:200
Function
test_test_client_methods
(method, loop, test_client)
tests/test_test_utils.py:193
Function
test_test_client_props
(loop)
tests/test_test_utils.py:264
Function
test_test_client_raw_server_props
(loop)
tests/test_test_utils.py:278
Function
test_test_server_context_manager
(loop)
tests/test_test_utils.py:294
Function
test_test_server_hostnames
(hostname, expected_host, loop)
tests/test_test_utils.py:446
Function
test_testcase_no_app
(testdir, loop)
tests/test_test_utils.py:324
Function
test_text
(loop, session)
tests/test_client_response.py:421
Function
test_text_after_read
(loop, session)
tests/test_client_response.py:616
Function
test_text_bad_encoding
(loop, session)
tests/test_client_response.py:451
Function
test_text_badly_encoded_encoding_header
(loop, session)
tests/test_client_response.py:484
Function
test_text_charset_resolver
(content_type: str, loop, session)
tests/test_client_response.py:550
Function
test_text_custom_encoding
(loop, session)
tests/test_client_response.py:517
Function
test_text_in_ctor_with_content_type
()
tests/test_web_response.py:1603
Function
test_text_in_ctor_with_content_type_header
()
tests/test_web_response.py:1609
Function
test_text_in_ctor_with_content_type_header_multidict
()
tests/test_web_response.py:1616
Function
test_text_io_payload_size_matches_file_encoding
Test TextIOPayload.size when file encoding matches payload encoding.
tests/test_payload.py:1299
Function
test_text_io_payload_size_utf16
Test TextIOPayload.size reports correct size with utf-16.
tests/test_payload.py:1322
Method
test_text_is_json_encoded
(self)
tests/test_web_response.py:1698
Function
test_text_with_empty_payload
()
tests/test_web_response.py:1632
Function
test_textio_payload_as_bytes
Test TextIOPayload.as_bytes method with different encodings.
tests/test_payload.py:615
Function
test_textio_payload_large_content_length
Test TextIOPayload with very large content_length doesn't read all at once.
tests/test_payload.py:499
Function
test_textio_payload_reads_in_chunks
Test TextIOPayload reads data in chunks of default size, not all at once.
tests/test_payload.py:456
Function
test_textio_payload_with_encoding
Test TextIOPayload reading with encoding and size constraints.
tests/test_payload.py:604
Function
test_threaded_negative_ipv6_lookup
()
tests/test_resolver.py:407
Function
test_threaded_negative_lookup
()
tests/test_resolver.py:398
Function
test_threaded_negative_lookup_with_unknown_result
()
tests/test_resolver.py:417
Function
test_threaded_resolver_is_default
()
tests/test_resolver.py:568
Function
test_threaded_resolver_keeps_addrconfig_without_localhost_windows_fallback
( host: str, is_windows: bool, monkeypatch: pytest.MonkeyPatch )
tests/test_resolver.py:337
Function
test_threaded_resolver_multiple_replies
()
tests/test_resolver.py:388
Function
test_threaded_resolver_positive_ipv6_link_local_lookup
()
tests/test_resolver.py:358
Function
test_threaded_resolver_positive_lookup
()
tests/test_resolver.py:287
Function
test_threaded_resolver_retries_localhost_without_addrconfig_on_windows
( monkeypatch: pytest.MonkeyPatch, )
tests/test_resolver.py:296
Function
test_timeout_handle
(loop)
tests/test_helpers.py:435
Function
test_timeout_handle_cb_exc
(loop)
tests/test_helpers.py:468
Function
test_timeout_none
(aiohttp_client, mocker)
tests/test_client_functional.py:1349
Function
test_timeout_on_conn_reading_headers
(aiohttp_client, mocker)
tests/test_client_functional.py:1186
Function
test_timeout_on_reading_data
(aiohttp_client, mocker)
tests/test_client_functional.py:1326
Function
test_timeout_on_reading_headers
(aiohttp_client, mocker)
tests/test_client_functional.py:1171
← previous
next →
5,401–5,500 of 5,960, ranked by callers