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_clone_absolute_scheme
()
tests/test_web_request.py:243
Function
test_clone_client_max_fields
()
tests/test_web_request.py:929
Function
test_clone_client_max_size
()
tests/test_web_request.py:911
Function
test_clone_headers
()
tests/test_web_request.py:960
Function
test_clone_headers_dict
()
tests/test_web_request.py:967
Function
test_clone_host
()
tests/test_web_request.py:1318
Function
test_clone_method
()
tests/test_web_request.py:941
Function
test_clone_override_client_max_fields
()
tests/test_web_request.py:935
Function
test_clone_override_client_max_size
()
tests/test_web_request.py:918
Function
test_clone_rel_url
()
tests/test_web_request.py:948
Function
test_clone_rel_url_str
()
tests/test_web_request.py:954
Function
test_clone_remote
()
tests/test_web_request.py:1326
Function
test_clone_scheme
()
tests/test_web_request.py:1310
Function
test_close
(loop, session)
tests/test_client_response.py:102
Function
test_close
(loop, buf, conn)
tests/test_client_request.py:1310
Function
test_close
(loop)
tests/test_connector.py:294
Function
test_close
(loop, ws_key, key_data)
tests/test_client_ws.py:337
Function
test_close
(aiohttp_client)
tests/test_client_ws_functional.py:493
Function
test_close
(create_session, connector)
tests/test_client_session.py:300
Function
test_close
(writer)
tests/test_websocket_writer.py:72
Function
test_close
(connector, key, protocol, loop)
tests/test_client_connection.py:100
Function
test_close_abort_closed_transports
(loop: asyncio.AbstractEventLoop)
tests/test_connector.py:3140
Function
test_close_after_closing
(make_request: Any, loop: Any)
tests/test_web_websocket.py:604
Function
test_close_cancel
(aiohttp_client)
tests/test_client_ws_functional.py:736
Function
test_close_cancels_cleanup_closed_handle
( loop: asyncio.AbstractEventLoop, )
tests/test_connector.py:3153
Function
test_close_cancels_cleanup_handle
(loop)
tests/test_connector.py:2788
Function
test_close_cancels_resolve_host
(loop: asyncio.AbstractEventLoop)
tests/test_connector.py:2796
Function
test_close_conn_on_error
(create_session)
tests/test_client_session.py:575
Function
test_close_connection_lost
Test the websocket client handles the connection being closed out from under it.
tests/test_client_ws.py:409
Function
test_close_context_manager
(aiohttp_client)
tests/test_client_functional.py:4271
Function
test_close_coro
( create_session: Callable[..., Awaitable[ClientSession]], )
tests/test_client_session.py:95
Function
test_close_detached_session_on_non_existing_addr
()
tests/test_client_functional.py:4144
Function
test_close_during_connect
(loop: asyncio.AbstractEventLoop)
tests/test_connector.py:1910
Function
test_close_eofstream
(loop, ws_key, key_data)
tests/test_client_ws.py:378
Function
test_close_exc
( loop: asyncio.AbstractEventLoop, ws_key: bytes, key_data: bytes )
tests/test_client_ws.py:444
Function
test_close_exc
(make_request)
tests/test_web_websocket.py:668
Function
test_close_exc2
(loop, ws_key, key_data)
tests/test_client_ws.py:479
Function
test_close_flag_for_closed_connector
(loop, session)
tests/test_client_session.py:480
Function
test_close_for_async_resolver
(loop: asyncio.AbstractEventLoop)
tests/test_resolver.py:448
Function
test_close_for_threaded_resolver
(loop)
tests/test_resolver.py:441
Function
test_close_frame
(out: WebSocketDataQueue, parser: PatchableWebSocketReader)
tests/test_websocket_parser.py:288
Function
test_close_frame_info
( out: WebSocketDataQueue, parser: PatchableWebSocketReader )
tests/test_websocket_parser.py:294
Function
test_close_frame_invalid
( out: WebSocketDataQueue, parser: PatchableWebSocketReader )
tests/test_websocket_parser.py:302
Function
test_close_frame_invalid_2
( out: WebSocketDataQueue, parser: PatchableWebSocketReader )
tests/test_websocket_parser.py:310
Function
test_close_frame_unicode_err
(parser: PatchableWebSocketReader)
tests/test_websocket_parser.py:321
Function
test_close_from_server
(aiohttp_client)
tests/test_client_ws_functional.py:610
Function
test_close_idempotent
(make_request)
tests/test_web_websocket.py:474
Function
test_close_manual
(aiohttp_client)
tests/test_client_ws_functional.py:642
Function
test_close_op_code_from_client
(loop: Any, aiohttp_client: Any)
tests/test_web_websocket_functional.py:734
Function
test_close_releases_parser
A normal close handshake releases the parser and the state it holds.
tests/test_web_websocket_functional.py:2130
Function
test_close_releases_parser
A normal close handshake releases the parser and the state it holds.
tests/test_client_ws_functional.py:1851
Function
test_close_resp_on_error_async_with_session
(aiohttp_server)
tests/test_client_functional.py:4088
Function
test_close_timeout
(loop, aiohttp_client)
tests/test_web_websocket_functional.py:614
Function
test_close_timeout_deprecated
(aiohttp_client)
tests/test_client_ws_functional.py:705
Function
test_close_timeout_sock_close_read
(aiohttp_client)
tests/test_client_ws_functional.py:679
Function
test_close_twice
(loop)
tests/test_connector.py:2772
Function
test_close_websocket_while_ping_inflight
Test closing the websocket while a ping is in-flight.
tests/test_client_ws_functional.py:1175
Function
test_close_with_acquired_connection
(loop)
tests/test_connector.py:3640
Function
test_close_with_exception_during_closing
Test that exceptions during connection closing are logged.
tests/test_connector.py:307
Function
test_close_with_proto_closed_none
Test close when protocol.closed is None.
tests/test_connector.py:335
Function
test_closed
(session)
tests/test_client_session.py:308
Function
test_closed_after_ctor
()
tests/test_web_websocket.py:344
Function
test_closed_async_for
(loop, aiohttp_client)
tests/test_web_websocket_functional.py:1267
Function
test_closed_async_for
(aiohttp_client)
tests/test_client_ws_functional.py:1391
Function
test_closed_property_after_connection_lost
Test that closed property returns None after connection_lost if never accessed.
tests/test_client_proto.py:336
Function
test_closed_property_lazy_creation
Test that closed future is created lazily.
tests/test_client_proto.py:317
Function
test_collected_stalled_reader_preserves_existing_exception
( protocol: BaseProtocol, )
tests/test_websocket_parser.py:1503
Function
test_collected_stalled_reader_surfaces_contract_error
( protocol: BaseProtocol, caplog: pytest.LogCaptureFixture )
tests/test_websocket_parser.py:1486
Function
test_compress_and_content_encoding
(loop, conn)
tests/test_client_request.py:927
Function
test_compressed_256kb
(response: HttpResponseParser)
tests/test_http_parser.py:1755
Function
test_compressed_burst_stops_at_high_water
(protocol: BaseProtocol)
tests/test_websocket_parser.py:1204
Function
test_compressed_chunked_split_chunk_size_line
First chunk-size line arrives in a feed that carries no body bytes. Regression test for an ``IndexError`` in the pure-Python parser: the chun
tests/test_http_parser.py:1594
Function
test_compressed_chunked_with_pending
Test chunked + compressed where the decompressor needs to resume from pause. We need to verify that chunked messages continue parsing correctly a
tests/test_http_parser.py:1569
Function
test_compressed_content_length_eof_while_paused
EOF with pending decompressed data on a complete content-length body. Like test_content_length_eof_while_paused, but the decompressor still h
tests/test_http_parser.py:1669
Function
test_compressed_continuation_with_ping
( out: WebSocketDataQueue, parser: PatchableWebSocketReader, ping_rsv1: int )
tests/test_websocket_parser.py:625
Function
test_compressed_frame_after_control_frame
( out: WebSocketDataQueue, parser: PatchableWebSocketReader )
tests/test_websocket_parser.py:654
Function
test_compressed_frame_survives_fold
A PMCE frame folded past the cap still decompresses (folded bytearray path).
tests/test_websocket_parser.py:1114
Function
test_compressed_member_flood_rejected
Past the member limit the message is rejected, not decoded. The reader hands the whole assembled message to one synchronous decompress_sync()
tests/test_websocket_parser.py:722
Function
test_compressed_msg_too_large
(out)
tests/test_websocket_parser.py:809
Function
test_compressed_multi_block_message
Blocks that leave BFINAL unset stay a single member.
tests/test_websocket_parser.py:673
Function
test_compressed_multi_member_message
Concatenated BFINAL members decode. A block following a BFINAL one starts a fresh deflate member, so this must keep working well below the me
tests/test_websocket_parser.py:697
Function
test_compressed_until_eof_high_water
Test read-until-eof + compressed with higher limit.
tests/test_http_parser.py:1718
Function
test_compressed_until_eof_with_pending
Test read-until-eof + compressed with pause.
tests/test_http_parser.py:1625
Function
test_compressed_with_tail
Test compressed content-length body followed by a second response. With 2 responses arriving in one call and the first compressed, this should
tests/test_http_parser.py:1444
Function
test_compressed_zlib_64kb
(response_cls: type[HttpResponseParser])
tests/test_http_parser.py:1537
Function
test_compression_brotli
(parser)
tests/test_http_parser.py:1080
Function
test_compression_case_insensitive
(parser: HttpRequestParser)
tests/test_http_parser.py:1095
Function
test_compression_case_insensitive_decodes_body
( response: HttpResponseParser, )
tests/test_http_parser.py:1104
Function
test_compression_default_coding
()
tests/test_web_response.py:570
Function
test_compression_deflate
(parser)
tests/test_http_parser.py:1065
Function
test_compression_different_strategies
Test compression with different strategies.
tests/test_http_writer.py:1295
Function
test_compression_empty
(parser)
tests/test_http_parser.py:1058
Function
test_compression_gzip
(parser)
tests/test_http_parser.py:1072
Function
test_compression_no_accept
()
tests/test_web_response.py:528
Function
test_compression_non_ascii
(parser: HttpRequestParser, enc: bytes)
tests/test_http_parser.py:1129
Function
test_compression_round_trip_in_event_loop
Ensure that compression and decompression work correctly in the event loop.
tests/test_compression_utils.py:63
Function
test_compression_round_trip_in_executor
Ensure that compression and decompression work correctly in the executor.
tests/test_compression_utils.py:48
Function
test_compression_unknown
(parser: HttpRequestParser)
tests/test_http_parser.py:1137
Function
test_compression_with_content_length_constraint
Test compression respects content length constraints.
tests/test_http_writer.py:1202
Function
test_compression_zstd
(parser: HttpRequestParser)
tests/test_http_parser.py:1088
← previous
next →
2,901–3,000 of 5,960, ranked by callers