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
Method
test_pickle
(self)
tests/test_client_exceptions.py:253
Method
test_pickle
(self)
tests/test_client_exceptions.py:287
Method
test_pickle
(self)
tests/test_client_exceptions.py:315
Function
test_pickle_format
Test if cookiejar pickle format breaks. If this test fails, it may indicate that saved cookiejars will stop working. If that happens then:
tests/test_cookiejar.py:1236
Function
test_ping
(loop, aiohttp_client)
tests/test_web_websocket_functional.py:792
Function
test_ping
(writer: WebSocketWriter)
tests/test_websocket_writer.py:43
Function
test_ping_closed
(make_request)
tests/test_web_websocket.py:452
Function
test_ping_frame
( out: WebSocketDataQueue, parser: PatchableWebSocketReader, data: bytes | bytearray | memoryview,
tests/test_websocket_parser.py:272
Function
test_ping_pong
(aiohttp_client: AiohttpClient)
tests/test_client_ws_functional.py:416
Function
test_ping_pong_manual
(aiohttp_client)
tests/test_client_ws_functional.py:452
Function
test_pipelined_request_after_declined_upgrade_behind_burst
A declined upgrade replays its tail even when queued behind a request. Only the upgrade request's own response settles whether the buffered bytes
tests/test_web_websocket_functional.py:305
Function
test_pipelined_request_after_failed_websocket_upgrade
Pipelined HTTP request runs after a declined websocket upgrade. The parser flips into upgraded mode when it sees the ``Upgrade`` header and b
tests/test_web_websocket_functional.py:38
Function
test_pipelined_request_after_two_declined_upgrades
A second upgrade inside a replayed tail buffers its own remainder again. Replaying a declined upgrade's tail can turn up another upgrade request,
tests/test_web_websocket_functional.py:345
Function
test_plain_not_match
(router)
tests/test_urldispatch.py:485
Function
test_plain_resource_canonical
()
tests/test_urldispatch.py:1360
Function
test_pong
(loop, aiohttp_client)
tests/test_web_websocket_functional.py:845
Function
test_pong
(writer: WebSocketWriter)
tests/test_websocket_writer.py:38
Function
test_pong_closed
(make_request, mocker)
tests/test_web_websocket.py:463
Function
test_pong_frame
(out: WebSocketDataQueue, parser: PatchableWebSocketReader)
tests/test_websocket_parser.py:282
Function
test_post
(router)
tests/test_route_def.py:58
Function
test_post_bytes_data_content_length_from_body
Test that Content-Length is set from body payload size when sending bytes.
tests/test_client_functional.py:651
Function
test_post_connection_cleanup_with_bytesio
Test that connections are properly cleaned up when using BytesIO data.
tests/test_client_functional.py:5157
Function
test_post_connection_cleanup_with_file
Test that connections are properly cleaned up when using file data.
tests/test_client_functional.py:5192
Function
test_post_content_exception_connection_kept
Test that connections are kept after content.set_exception() with POST.
tests/test_client_functional.py:5232
Function
test_post_custom_payload_without_content_length
Test that Content-Length is set from payload.size when not explicitly provided.
tests/test_client_functional.py:677
Function
test_post_data
(loop: asyncio.AbstractEventLoop, conn: mock.Mock)
tests/test_client_request.py:817
Function
test_post_data_bytesio
(aiohttp_client)
tests/test_client_functional.py:523
Function
test_post_data_stringio
(aiohttp_client)
tests/test_client_functional.py:560
Function
test_post_data_tarfile_filelike
(aiohttp_client: AiohttpClient)
tests/test_client_functional.py:619
Function
test_post_data_textio_encoding
(aiohttp_client)
tests/test_client_functional.py:578
Function
test_post_data_with_bytesio_file
(aiohttp_client)
tests/test_client_functional.py:541
Function
test_post_data_zipfile_filelike
(aiohttp_client: AiohttpClient)
tests/test_client_functional.py:596
Function
test_post_deco
(router)
tests/test_route_def.py:181
Function
test_post_file_field_spool_rollover
A part is byte-identical either side of the spool/temp-file boundary.
tests/test_web_functional.py:2593
Function
test_post_file_fields_descriptor_cost
Only a part past the spool size may cost a descriptor.
tests/test_web_functional.py:2545
Function
test_post_files
(aiohttp_client)
tests/test_web_functional.py:496
Function
test_post_form
(aiohttp_client: AiohttpClient)
tests/test_web_functional.py:242
Function
test_post_form_with_duplicate_keys
(aiohttp_client)
tests/test_web_functional.py:545
Function
test_post_json
(aiohttp_client)
tests/test_web_functional.py:280
Function
test_post_max_client_size
(aiohttp_client)
tests/test_web_functional.py:2408
Function
test_post_max_client_size_counts_multipart_headers
( aiohttp_client: AiohttpClient, )
tests/test_web_functional.py:2461
Function
test_post_max_client_size_counts_undecoded_bytes
( aiohttp_client: AiohttpClient, filename: bytes )
tests/test_web_functional.py:2508
Function
test_post_max_client_size_for_file
(aiohttp_client)
tests/test_web_functional.py:2431
Function
test_post_max_client_size_within_single_part
( aiohttp_client: AiohttpClient, max_size: int )
tests/test_web_functional.py:2485
Function
test_post_single_file
(aiohttp_client)
tests/test_web_functional.py:428
Function
test_post_text
(aiohttp_client)
tests/test_web_functional.py:260
Function
test_preamble_failure_reported_to_upload_tracker
A failure before the body write (100-continue preamble) is recorded.
tests/test_client_request.py:2443
Function
test_precompressed_data_stays_intact
(loop)
tests/test_client_request.py:1010
Function
test_preemptive_auth_disabled
Test that preemptive authentication can be disabled.
tests/test_client_middleware_digest_auth.py:929
Function
test_preemptive_auth_respects_protection_space
Test that preemptive auth only applies to URLs within the protection space.
tests/test_client_middleware_digest_auth.py:1088
Function
test_preemptive_auth_updates_nonce_count
Test that preemptive auth properly increments nonce count.
tests/test_client_middleware_digest_auth.py:1040
Function
test_preemptive_auth_with_absolute_domain_uris
Test preemptive auth with absolute URIs in domain parameter.
tests/test_client_middleware_digest_auth.py:1158
Function
test_preemptive_auth_with_stale_nonce
Test preemptive auth handles stale nonce responses correctly.
tests/test_client_middleware_digest_auth.py:978
Function
test_preemptive_auth_without_domain_uses_origin
Test that preemptive auth without domain parameter applies to entire origin.
tests/test_client_middleware_digest_auth.py:1209
Function
test_prefixed_subapp_empty_route
(app)
tests/test_urldispatch.py:1418
Function
test_prefixed_subapp_overlap
(app)
tests/test_urldispatch.py:1393
Function
test_prefixed_subapp_resource_canonical
(app)
tests/test_urldispatch.py:1386
Function
test_prefixed_subapp_root_route
(app)
tests/test_urldispatch.py:1430
Function
test_prepare_after_client_disconnect
Test ConnectionResetError when client disconnects before ws.prepare(). Reproduces the race condition where: - Client connects and sends a Web
tests/test_web_websocket_functional.py:2014
Function
test_prepare_calls_signal
()
tests/test_web_response.py:1175
Function
test_prepare_post_method_ok
(make_request)
tests/test_web_websocket.py:486
Function
test_prepare_twice
()
tests/test_web_response.py:1166
Function
test_prepare_twice_idempotent
(make_request)
tests/test_web_websocket.py:689
Function
test_prepare_web_response_headers
Benchmark preparing 100 response headers with and without a Date header.
tests/test_benchmarks_web_response.py:48
Function
test_prepare_without_upgrade
(make_request)
tests/test_web_websocket.py:493
Function
test_prepared_after_eof
()
tests/test_web_response.py:1577
Function
test_prepared_when_not_started
()
tests/test_web_response.py:1566
Function
test_prepared_when_started
()
tests/test_web_response.py:1571
Method
test_preserve_content_disposition_header
( self, buf: bytearray, stream: AbstractStreamWriter )
tests/test_multipart.py:1690
Function
test_preserve_morsel_with_coded_value
Test preserve_morsel_with_coded_value preserves coded_value exactly.
tests/test_cookie_helpers.py:46
Function
test_preserve_morsel_with_coded_value_no_coded_value
Test preserve_morsel_with_coded_value when coded_value is same as value.
tests/test_cookie_helpers.py:64
Function
test_preserve_morsel_with_reserved_cookie_name
A cookie named like an attribute, such as ``path``, is preserved.
tests/test_cookie_helpers.py:78
Function
test_properties
( session: ClientSession, outer_name: str, inner_name: str )
tests/test_client_session.py:1374
Function
test_protocol_key_bad_size
()
tests/test_websocket_handshake.py:113
Function
test_protocol_key_invalid
()
tests/test_websocket_handshake.py:97
Function
test_protocol_key_not_present
()
tests/test_websocket_handshake.py:82
Function
test_protocol_version_not_supported
()
tests/test_websocket_handshake.py:67
Function
test_protocol_version_unset
()
tests/test_websocket_handshake.py:58
Function
test_proxies_from_env
(url_input, expected_scheme)
tests/test_helpers.py:703
Function
test_proxies_from_env_http_with_auth
(url_input, expected_scheme)
tests/test_helpers.py:748
Function
test_proxies_from_env_skipped
(caplog, url_input, expected_scheme)
tests/test_helpers.py:725
Function
test_proxy_auth
()
tests/test_proxy_functional.py:952
Method
test_proxy_auth
(self, start_connection: Any)
tests/test_proxy.py:170
Method
test_proxy_auth_property
(self)
tests/test_proxy.py:958
Method
test_proxy_auth_property_default
(self)
tests/test_proxy.py:970
Method
test_proxy_connection_error
(self, start_connection: Any)
tests/test_proxy.py:218
Method
test_proxy_dns_error
(self, start_connection: Any)
tests/test_proxy.py:189
Function
test_proxy_from_env_auth_scoped_to_redirect_selected_proxy
( aiohttp_raw_server: AiohttpRawServer, get_request, monkeypatch: pytest.MonkeyPatch, tmp_path
tests/test_proxy_functional.py:853
Function
test_proxy_from_env_http
(proxy_test_server, get_request, mocker)
tests/test_proxy_functional.py:746
Function
test_proxy_from_env_http_with_auth
(proxy_test_server, get_request, mocker)
tests/test_proxy_functional.py:761
Function
test_proxy_from_env_http_with_auth_from_netrc
( proxy_test_server, get_request, tmp_path, mocker )
tests/test_proxy_functional.py:783
Function
test_proxy_from_env_http_without_auth_from_netrc
( proxy_test_server, get_request, tmp_path, mocker )
tests/test_proxy_functional.py:806
Function
test_proxy_from_env_http_without_auth_from_wrong_netrc
( proxy_test_server, get_request, tmp_path, mocker )
tests/test_proxy_functional.py:829
Method
test_proxy_headers
(self, start_connection: Any, ClientRequestMock: Any)
tests/test_proxy.py:111
Function
test_proxy_http_absolute_path
(proxy_test_server, get_request)
tests/test_proxy_functional.py:328
Function
test_proxy_http_acquired_cleanup
(proxy_test_server, loop)
tests/test_proxy_functional.py:434
Function
test_proxy_http_acquired_cleanup_force
(proxy_test_server, loop)
tests/test_proxy_functional.py:454
Function
test_proxy_http_auth
(proxy_test_server, get_request)
tests/test_proxy_functional.py:380
Function
test_proxy_http_auth_from_url
(proxy_test_server, get_request)
tests/test_proxy_functional.py:417
Function
test_proxy_http_auth_utf8
(proxy_test_server, get_request)
tests/test_proxy_functional.py:406
← previous
next →
4,401–4,500 of 5,960, ranked by callers