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_route_plain
(router)
tests/test_urldispatch.py:335
Function
test_route_unknown_route_name
(router)
tests/test_urldispatch.py:344
Function
test_route_with_regex
Test a route with a regex preceded by a fixed string.
tests/test_web_urldispatcher.py:1032
Function
test_routedef_sequence_protocol
()
tests/test_route_def.py:277
Function
test_routes_abc
(router)
tests/test_urldispatch.py:849
Function
test_routes_view_contains
(router, fill_routes)
tests/test_urldispatch.py:843
Function
test_routes_view_iter
(router, fill_routes)
tests/test_urldispatch.py:838
Function
test_routes_view_len
(router, fill_routes)
tests/test_urldispatch.py:833
Function
test_run
( worker: base_worker.GunicornWebWorker, loop: asyncio.AbstractEventLoop )
tests/test_worker.py:95
Function
test_run_after_asyncio_run
()
tests/test_web_runner.py:189
Function
test_run_app_abstract_linux_socket
(patched_loop)
tests/test_run_app.py:596
Function
test_run_app_cancels_all_pending_tasks
(patched_loop)
tests/test_run_app.py:859
Function
test_run_app_cancels_done_tasks
(patched_loop)
tests/test_run_app.py:874
Function
test_run_app_cancels_failed_tasks
(patched_loop)
tests/test_run_app.py:892
Function
test_run_app_close_loop
(patched_loop)
tests/test_run_app.py:116
Function
test_run_app_context_vars
(patched_loop)
tests/test_run_app.py:950
Function
test_run_app_coro
(patched_loop)
tests/test_run_app.py:746
Function
test_run_app_custom_backlog
(patched_loop)
tests/test_run_app.py:539
Function
test_run_app_custom_backlog_unix
(patched_loop)
tests/test_run_app.py:548
Function
test_run_app_default_logger
(monkeypatch, patched_loop)
tests/test_run_app.py:767
Function
test_run_app_default_logger_setup_only_if_unconfigured
(patched_loop)
tests/test_run_app.py:836
Function
test_run_app_default_logger_setup_requires_debug
(patched_loop)
tests/test_run_app.py:790
Function
test_run_app_default_logger_setup_requires_default_logger
(patched_loop)
tests/test_run_app.py:813
Function
test_run_app_http
(patched_loop)
tests/test_run_app.py:100
Function
test_run_app_http_unix_socket
(patched_loop, unix_sockname)
tests/test_run_app.py:563
Function
test_run_app_https
(patched_loop)
tests/test_run_app.py:466
Function
test_run_app_https_unix_socket
(patched_loop, unix_sockname)
tests/test_run_app.py:575
Function
test_run_app_mixed_bindings
( run_app_kwargs, expected_server_calls, expected_unix_server_calls, patched_loop )
tests/test_run_app.py:456
Function
test_run_app_multiple_hosts
(patched_loop: asyncio.AbstractEventLoop)
tests/test_run_app.py:518
Function
test_run_app_multiple_preexisting_sockets
(patched_loop)
tests/test_run_app.py:664
Function
test_run_app_nondefault_host_port
( patched_loop: asyncio.AbstractEventLoop, unused_port_socket: socket.socket )
tests/test_run_app.py:485
Function
test_run_app_pass_apprunner_kwargs
(param, patched_loop, monkeypatch)
tests/test_run_app.py:937
Function
test_run_app_preexisting_inet6_socket
(patched_loop)
tests/test_run_app.py:629
Function
test_run_app_preexisting_inet_socket
(patched_loop, mocker)
tests/test_run_app.py:611
Function
test_run_app_preexisting_unix_socket
(patched_loop, unix_sockname, mocker)
tests/test_run_app.py:647
Function
test_run_app_preserves_startup_traceback
( patched_loop: asyncio.AbstractEventLoop, )
tests/test_run_app.py:126
Function
test_run_app_raises_exception
(patched_loop: asyncio.AbstractEventLoop)
tests/test_run_app.py:982
Function
test_run_app_with_sock
( patched_loop: asyncio.AbstractEventLoop, unused_port_socket: socket.socket )
tests/test_run_app.py:501
Function
test_run_async_factory
( worker: base_worker.GunicornWebWorker, loop: asyncio.AbstractEventLoop )
tests/test_worker.py:112
Function
test_run_not_app
( worker: base_worker.GunicornWebWorker, loop: asyncio.AbstractEventLoop )
tests/test_worker.py:136
Function
test_run_on_startup_raises
( worker: base_worker.GunicornWebWorker, loop: asyncio.AbstractEventLoop )
tests/test_worker.py:152
Function
test_runner_setup_handle_signals
(make_runner: Any)
tests/test_web_runner.py:43
Function
test_runner_setup_without_signal_handling
(make_runner: Any)
tests/test_web_runner.py:63
Function
test_running_application
(mocker)
tests/test_web_cli.py:144
Function
test_safe_cookie_jar_rejects_ip_before_parsing
()
tests/test_cookiejar.py:1679
Function
test_save_creates_private_cookie_file
(tmp_path: Path, loop)
tests/test_cookiejar.py:3119
Function
test_save_load
(tmp_path, loop, cookies_to_send, cookies_to_receive)
tests/test_cookiejar.py:239
Function
test_save_load_json_domain_cookie_still_matches_subdomain
Verify save/load keeps an explicit Domain cookie valid for subdomains.
tests/test_cookiejar.py:2927
Function
test_save_load_json_drops_expired_cookie
Verify a cookie whose persisted deadline is in the past is dropped on load.
tests/test_cookiejar.py:2989
Function
test_save_load_json_host_only_per_path
Verify save/load keeps host-only state per (domain, path, name).
tests/test_cookiejar.py:2947
Function
test_save_load_json_partitioned_cookies
Verify save/load roundtrip works with partitioned cookies.
tests/test_cookiejar.py:2884
Function
test_save_load_json_preserves_expires_deadline
Verify a future Expires deadline survives a save/load roundtrip.
tests/test_cookiejar.py:3013
Function
test_save_load_json_preserves_host_only_scope
Verify save/load keeps host-only cookies off subdomains.
tests/test_cookiejar.py:2908
Function
test_save_load_json_preserves_max_age_deadline
Verify save/load restores the absolute deadline without resetting it.
tests/test_cookiejar.py:2969
Function
test_save_load_json_roundtrip
Verify save/load roundtrip preserves cookies via JSON format.
tests/test_cookiejar.py:2859
Function
test_save_load_json_secure_cookies
Verify save/load preserves Secure and HttpOnly flags.
tests/test_cookiejar.py:3092
Function
test_save_load_partitioned_cookies
(tmp_path, loop)
tests/test_cookiejar.py:262
Function
test_save_preserves_existing_cookie_file_permissions
( tmp_path: Path, loop )
tests/test_cookiejar.py:3135
Function
test_save_state_on_clone
()
tests/test_web_request.py:1301
Function
test_schedule_timeout
(loop)
tests/test_client_proto.py:243
Method
test_second_next_releases_previous_object
(self)
tests/test_multipart.py:1092
Method
test_secure_filter
(self)
tests/test_cookiejar.py:652
Function
test_secure_https_proxy_absolute_path
Ensure HTTP(S) sites are accessible through a secure proxy.
tests/test_proxy_functional.py:124
Method
test_semicolon
(self)
tests/test_multipart_helpers.py:26
Method
test_send
(self, signal, params, param_obj)
tests/test_tracing.py:117
Function
test_send_binary
(writer: WebSocketWriter)
tests/test_websocket_writer.py:53
Function
test_send_binary_long
(writer: WebSocketWriter)
tests/test_websocket_writer.py:58
Function
test_send_binary_very_long
(writer: WebSocketWriter)
tests/test_websocket_writer.py:63
Function
test_send_bytes_closed
(make_request)
tests/test_web_websocket.py:389
Function
test_send_bytes_nonbytes
(make_request)
tests/test_web_websocket.py:202
Function
test_send_client_request_one_hundred
( loop: asyncio.AbstractEventLoop, benchmark: BenchmarkFixture )
tests/test_benchmarks_client_request.py:128
Function
test_send_compress_cancelled
Test that cancelled compression doesn't corrupt subsequent sends. Regression test for https://github.com/aio-libs/aiohttp/issues/11725
tests/test_websocket_writer.py:143
Function
test_send_compress_multiple_cancelled
Test that multiple compressed sends all complete despite cancellation. Regression test for https://github.com/aio-libs/aiohttp/issues/11725 T
tests/test_websocket_writer.py:197
Function
test_send_compress_text
(protocol, transport)
tests/test_websocket_writer.py:93
Function
test_send_compress_text_notakeover
(protocol, transport)
tests/test_websocket_writer.py:115
Function
test_send_compress_text_per_message
(protocol, transport)
tests/test_websocket_writer.py:132
Function
test_send_data_after_close
( exc: type[Exception], ws_key: bytes, key_data: bytes, loop: asyncio.AbstractEventLoop, )
tests/test_client_ws.py:515
Function
test_send_data_type_errors
(ws_key, key_data, loop)
tests/test_client_ws.py:550
Function
test_send_frame_closed
(make_request: _RequestMaker)
tests/test_web_websocket.py:440
Function
test_send_headers_for_empty_body
(buf, writer)
tests/test_web_response.py:1381
Function
test_send_headers_forces_header_write
Test that send_headers() forces writing buffered headers.
tests/test_http_writer.py:1356
Function
test_send_headers_idempotent
Test that send_headers() is idempotent and safe to call multiple times.
tests/test_http_writer.py:1385
Function
test_send_headers_no_buffered_headers
Test that send_headers() is safe when no headers are buffered.
tests/test_http_writer.py:1413
Function
test_send_headers_with_payload_chunked_eof_no_data
Test _send_headers_with_payload with chunked, is_eof=True but no chunk data.
tests/test_http_writer.py:1683
Function
test_send_heartbeat_returns_early_when_reset_is_pending
( loop: asyncio.AbstractEventLoop, )
tests/test_client_ws.py:725
Function
test_send_heartbeat_returns_early_when_reset_is_pending
()
tests/test_web_websocket.py:144
Function
test_send_json_bytes_client
Test ClientWebSocketResponse.send_json_bytes sends binary frame.
tests/test_client_ws_functional.py:336
Function
test_send_json_bytes_closed
(make_request: _RequestMaker)
tests/test_web_websocket.py:426
Function
test_send_json_bytes_custom_encoder
Test send_json_bytes with custom bytes-returning encoder.
tests/test_client_ws_functional.py:369
Function
test_send_json_bytes_nonjson
(make_request: _RequestMaker)
tests/test_web_websocket.py:226
Function
test_send_json_closed
(make_request)
tests/test_web_websocket.py:415
Function
test_send_json_nonjson
(make_request)
tests/test_web_websocket.py:210
Function
test_send_one_hundred_large_websocket_text_messages
Benchmark sending 100 WebSocket text messages.
tests/test_benchmarks_http_websocket.py:147
Function
test_send_one_hundred_websocket_compressed_messages
Benchmark sending 100 WebSocket compressed messages.
tests/test_benchmarks_http_websocket.py:180
Function
test_send_one_hundred_websocket_text_messages
Benchmark sending 100 WebSocket text messages.
tests/test_benchmarks_http_websocket.py:131
Function
test_send_one_hundred_websocket_text_messages_with_mask
Benchmark sending 100 masked WebSocket text messages.
tests/test_benchmarks_http_websocket.py:163
Function
test_send_recv_bytes
(loop, aiohttp_client)
tests/test_web_websocket_functional.py:545
Function
test_send_recv_bytes
(aiohttp_client)
tests/test_client_ws_functional.py:230
Function
test_send_recv_bytes_bad_type
(aiohttp_client)
tests/test_client_ws_functional.py:188
Function
test_send_recv_compress
(aiohttp_client: AiohttpClient)
tests/test_client_ws_functional.py:1225
← previous
next →
5,001–5,100 of 5,960, ranked by callers