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_abnormal_closure_when_client_does_not_close
Test abnormal closure when the server closes and the client doesn't respond.
tests/test_web_websocket_functional.py:1621
Function
test_abnormal_closure_when_server_does_not_receive
Test abnormal closure when the server closes and a message is pending.
tests/test_web_websocket_functional.py:1595
Function
test_abort
Test the abort() method.
tests/test_client_proto.py:350
Function
test_abort_without_transport
Test abort() when transport is None.
tests/test_client_proto.py:376
Function
test_absolute_form_target_does_not_spoof_scheme
A plaintext absolute-form target with https must not look secure.
tests/test_web_functional.py:2234
Function
test_absolute_url
()
tests/test_web_request.py:232
Function
test_access_compressed_file_as_symlink
Test that compressed file variants as symlinks are ignored.
tests/test_web_urldispatcher.py:544
Function
test_access_logger_atoms
( monkeypatch: Any, log_format: Any, expected: Any, extra: Any )
tests/test_web_log.py:85
Function
test_access_logger_dicts
()
tests/test_web_log.py:208
Function
test_access_logger_dst_timezone
Test that _format_t uses the current local UTC offset, not a cached one. This ensures timestamps are correct during DST transitions. The old
tests/test_web_log.py:134
Function
test_access_logger_feeds_logger
Test that the logger still works.
tests/test_web_log.py:315
Function
test_access_logger_format
()
tests/test_web_log.py:25
Function
test_access_logger_unix_socket
()
tests/test_web_log.py:227
Function
test_access_mock_special_resource
Test access to non-regular files is forbidden using a mock FIFO.
tests/test_web_urldispatcher.py:599
Function
test_access_non_existing_resource
( tmp_path: pathlib.Path, aiohttp_client: AiohttpClient )
tests/test_web_urldispatcher.py:357
Function
test_access_root_of_static_handler
( tmp_path: pathlib.Path, aiohttp_client: AiohttpClient, show_index: bool, status: int, pr
tests/test_web_urldispatcher.py:74
Function
test_access_root_of_static_handler_xss
( tmp_path: pathlib.Path, aiohttp_client: AiohttpClient, show_index: bool, status: int, pr
tests/test_web_urldispatcher.py:160
Function
test_access_special_resource
Test access to non-regular files is forbidden using a UNIX domain socket.
tests/test_web_urldispatcher.py:576
Function
test_access_symlink_loop
( tmp_path: pathlib.Path, aiohttp_client: AiohttpClient )
tests/test_web_urldispatcher.py:526
Function
test_access_to_the_file_with_spaces
( tmp_path: pathlib.Path, aiohttp_client: AiohttpClient, dir_name: str, filename: str, dat
tests/test_web_urldispatcher.py:328
Function
test_add_domain
(app, loop)
tests/test_urldispatch.py:1197
Function
test_add_domain_matches_host_with_port
A Host with a port must reach the domain app, not the parent's route.
tests/test_urldispatch.py:1231
Function
test_add_domain_not_str
(app, loop)
tests/test_urldispatch.py:1191
Function
test_add_invalid_path
(router)
tests/test_urldispatch.py:215
Function
test_add_route_invalid_method
(router)
tests/test_urldispatch.py:816
Function
test_add_route_not_started_with_slash
(router)
tests/test_urldispatch.py:810
Function
test_add_route_root
(router)
tests/test_urldispatch.py:75
Function
test_add_route_simple
(router)
tests/test_urldispatch.py:86
Function
test_add_route_with_add_delete_shortcut
(router)
tests/test_urldispatch.py:163
Function
test_add_route_with_add_get_shortcut
(router)
tests/test_urldispatch.py:119
Function
test_add_route_with_add_head_shortcut
(router)
tests/test_urldispatch.py:174
Function
test_add_route_with_add_patch_shortcut
(router)
tests/test_urldispatch.py:152
Function
test_add_route_with_add_post_shortcut
(router)
tests/test_urldispatch.py:130
Function
test_add_route_with_add_put_shortcut
(router)
tests/test_urldispatch.py:141
Function
test_add_route_with_invalid_re
(router)
tests/test_urldispatch.py:642
Function
test_add_route_with_re
( router: web.UrlDispatcher, pattern: str, url: str, expected )
tests/test_urldispatch.py:595
Function
test_add_route_with_re_and_slashes
(router)
tests/test_urldispatch.py:606
Function
test_add_route_with_re_including_slashes
(router)
tests/test_urldispatch.py:633
Function
test_add_route_with_re_not_match
(router)
tests/test_urldispatch.py:621
Function
test_add_static
(router)
tests/test_urldispatch.py:374
Function
test_add_static_access_resources
Test accessing resource._routes externally. aiohttp-cors accesses the resource._routes, this test ensures that this continues to work.
tests/test_urldispatch.py:506
Function
test_add_static_append_version
(router)
tests/test_urldispatch.py:384
Function
test_add_static_append_version_filename_without_slash
(router)
tests/test_urldispatch.py:413
Function
test_add_static_append_version_follow_symlink
(router, tmp_path)
tests/test_urldispatch.py:434
Function
test_add_static_append_version_non_exists_file
(router)
tests/test_urldispatch.py:422
Function
test_add_static_append_version_non_exists_file_without_slash
(router)
tests/test_urldispatch.py:428
Function
test_add_static_append_version_not_follow_symlink
(router, tmp_path)
tests/test_urldispatch.py:454
Function
test_add_static_append_version_override_constructor
(router)
tests/test_urldispatch.py:404
Function
test_add_static_append_version_set_from_constructor
(router)
tests/test_urldispatch.py:393
Function
test_add_static_path_checks
Test that static paths must exist and be directories.
tests/test_urldispatch.py:359
Function
test_add_static_path_resolution
Test that static paths are expanded and absolute.
tests/test_urldispatch.py:367
Function
test_add_static_quoting
(router)
tests/test_urldispatch.py:471
Function
test_add_static_set_options_route
Ensure set_options_route works as expected.
tests/test_urldispatch.py:525
Function
test_add_subapp_errors
(app)
tests/test_urldispatch.py:1169
Method
test_add_trailing_when_necessary
(self, path, status, cli)
tests/test_web_middleware.py:186
Function
test_add_url_escaping
(router)
tests/test_urldispatch.py:245
Function
test_add_url_invalid1
(router)
tests/test_urldispatch.py:221
Function
test_add_url_invalid2
(router)
tests/test_urldispatch.py:227
Function
test_add_url_invalid3
(router)
tests/test_urldispatch.py:233
Function
test_add_url_invalid4
(router)
tests/test_urldispatch.py:239
Function
test_add_view
(aiohttp_client: AiohttpClient)
tests/test_web_urldispatcher.py:767
Function
test_add_with_matchdict
(router)
tests/test_urldispatch.py:97
Function
test_add_with_matchdict_with_colon
(router)
tests/test_urldispatch.py:108
Function
test_add_with_name
(router: web.UrlDispatcher)
tests/test_urldispatch.py:196
Function
test_add_with_tailing_slash
(router)
tests/test_urldispatch.py:205
Function
test_additional_headers
(aiohttp_client)
tests/test_client_ws_functional.py:783
Function
test_addresses
(make_runner, unix_sockname)
tests/test_web_runner.py:126
Function
test_aio_dns_is_default
()
tests/test_resolver.py:563
Function
test_aiohttp_client_close_is_idempotent
()
tests/test_test_utils.py:106
Function
test_aiohttp_plugin
(testdir)
tests/test_pytest_plugin.py:14
Function
test_aiohttp_plugin_async_fixture
(testdir, capsys)
tests/test_pytest_plugin.py:181
Function
test_aiohttp_plugin_async_gen_fixture
(testdir)
tests/test_pytest_plugin.py:243
Function
test_aiohttp_request_context_manager
(aiohttp_server)
tests/test_client_functional.py:4165
Function
test_aiohttp_request_coroutine
(aiohttp_server: AiohttpServer)
tests/test_client_functional.py:4218
Function
test_aiohttp_request_ctx_manager_close_sess_on_error
( ssl_ctx, aiohttp_server )
tests/test_client_functional.py:4178
Function
test_aiohttp_request_ctx_manager_not_found
()
tests/test_client_functional.py:4200
Function
test_aiohttp_request_ssl
( aiohttp_server: AiohttpServer, ssl_ctx: ssl.SSLContext, client_ssl_ctx: ssl.SSLContext, )
tests/test_client_functional.py:4242
Function
test_all_http_exceptions_exported
()
tests/test_web_exceptions.py:55
Function
test_all_string_payloads_size_is_bytes
Test that all string-like payload classes report size in bytes, not string length.
tests/test_payload.py:1186
Function
test_allow_head
(aiohttp_client: AiohttpClient)
tests/test_web_urldispatcher.py:699
Method
test_always_expire
(self, monkeypatch: pytest.MonkeyPatch)
tests/test_connector.py:4187
Function
test_amazon_like_cookie_scenario
Test real-world cookie scenario similar to Amazon.
tests/test_client_functional.py:5920
Function
test_answers_cross_origin_within_domain_protection_space
A different origin advertised via the ``domain`` directive is honored. RFC 7616 allows a challenge to define a protection space spanning other
tests/test_client_middleware_digest_auth.py:1336
Function
test_answers_same_origin_redirect_challenge
A same-origin redirect that issues a challenge must still authenticate.
tests/test_client_middleware_digest_auth.py:1300
Function
test_any_method
(router)
tests/test_urldispatch.py:255
Function
test_any_method_appears_in_routes
(router: web.UrlDispatcher)
tests/test_urldispatch.py:271
Function
test_app_add_routes
(aiohttp_client)
tests/test_web_functional.py:2949
Function
test_app_boolean
()
tests/test_web_app.py:790
Function
test_app_call
()
tests/test_web_app.py:27
Function
test_app_ctor
()
tests/test_web_app.py:18
Function
test_app_custom_attr
()
tests/test_web_app.py:399
Function
test_app_default_loop
()
tests/test_web_app.py:32
Function
test_app_freeze
()
tests/test_web_app.py:336
Function
test_app_get
()
tests/test_web_app.py:328
Function
test_app_handler_args_ceil_threshold
(value: Any, expected: Any)
tests/test_web_runner.py:232
Function
test_app_handler_args_failure
()
tests/test_web_runner.py:213
Function
test_app_inheritance
()
tests/test_web_app.py:391
Function
test_app_iter
()
tests/test_web_app.py:779
Function
test_app_make_handler_access_log_class
(mocker)
tests/test_web_app.py:115
Function
test_app_make_handler_args
(mocker)
tests/test_web_app.py:100
← previous
next →
2,401–2,500 of 5,960, ranked by callers