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_merge_headers_with_multi_dict
(create_session)
tests/test_client_session.py:160
Method
test_merge_slash
(self, path, status, cli)
tests/test_web_middleware.py:263
Function
test_message_consumed_underflow_is_ignored
( request_cls: type[HttpRequestParser], protocol: BaseProtocol, loop: asyncio.AbstractEventLoop, )
tests/test_http_parser.py:240
Function
test_method1
(make_request)
tests/test_client_request.py:125
Function
test_method2
(make_request)
tests/test_client_request.py:130
Function
test_method3
(make_request)
tests/test_client_request.py:135
Function
test_method_invalid
(make_request)
tests/test_client_request.py:140
Function
test_method_must_be_empty_body
Test that HEAD is the only method that unequivocally must have an empty body.
tests/test_helpers.py:1065
Function
test_middleware
( request: ClientRequest, handler: ClientHandlerType )
tests/test_client_middleware.py:41
Function
test_middleware_can_check_request_body
Test that middleware can check request body.
tests/test_client_middleware.py:1060
Function
test_middleware_chain
(loop, aiohttp_client)
tests/test_web_middleware.py:60
Function
test_middleware_does_not_leak
(aiohttp_client: AiohttpClient)
tests/test_web_middleware.py:526
Function
test_middleware_handles_exception
(loop, aiohttp_client)
tests/test_web_middleware.py:37
Function
test_middleware_invalid_login
Test that invalid login values raise errors.
tests/test_client_middleware_digest_auth.py:522
Function
test_middleware_modifies_response
(loop, aiohttp_client)
tests/test_web_middleware.py:12
Function
test_middleware_retry_on_401
Test that the middleware retries on 401 errors.
tests/test_client_middleware_digest_auth.py:674
Function
test_middleware_subapp
(loop, aiohttp_client)
tests/test_web_middleware.py:106
Function
test_middleware_uses_session_avoids_recursion_with_disabled_middleware
Test that middleware can avoid infinite recursion by disabling middleware.
tests/test_client_middleware.py:992
Function
test_middleware_uses_session_avoids_recursion_with_path_check
Test that middleware can avoid infinite recursion using a path check.
tests/test_client_middleware.py:926
Function
test_missing_host_header_rejected
(parser: HttpRequestParser)
tests/test_http_parser.py:620
Function
test_morsel_with_attributes
(aiohttp_client)
tests/test_client_functional.py:3081
Function
test_msg_too_large
(out)
tests/test_websocket_parser.py:793
Function
test_msg_too_large_above_ssize_t_max_reports_buffered_fragments
( out: WebSocketDataQueue, )
tests/test_websocket_parser.py:924
Function
test_msg_too_large_across_fragments
(out: WebSocketDataQueue)
tests/test_websocket_parser.py:831
Function
test_msg_too_large_at_header
(out: WebSocketDataQueue, fin: int)
tests/test_websocket_parser.py:818
Function
test_msg_too_large_declared_length_above_ssize_t_max
( out: WebSocketDataQueue, max_msg_size: int, declared: int )
tests/test_websocket_parser.py:903
Function
test_msg_too_large_declared_length_near_ssize_t_max
( out: WebSocketDataQueue, )
tests/test_websocket_parser.py:868
Function
test_msg_too_large_not_fin
(out)
tests/test_websocket_parser.py:801
Function
test_msg_too_large_text_after_non_fin_text
(out: WebSocketDataQueue)
tests/test_websocket_parser.py:850
Function
test_msgtype_aliases
()
tests/test_websocket_parser.py:586
Method
test_multi_read_chunk
(self)
tests/test_multipart.py:277
Function
test_multidict_headers
(aiohttp_client)
tests/test_client_functional.py:4419
Function
test_multiline_reason
(buf: bytearray, writer: AbstractStreamWriter)
tests/test_web_response.py:1417
Function
test_multiline_reason
()
tests/test_web_exceptions.py:279
Function
test_multipart
(aiohttp_client)
tests/test_web_functional.py:307
Function
test_multipart_client_max_size
(aiohttp_client: AiohttpClient)
tests/test_web_functional.py:341
Function
test_multipart_content_transfer_encoding
(aiohttp_client)
tests/test_web_functional.py:382
Function
test_multipart_empty
(aiohttp_client: AiohttpClient)
tests/test_web_functional.py:362
Function
test_multipart_formdata
(protocol)
tests/test_web_request.py:1020
Function
test_multipart_formdata_field_missing_name
(protocol: BaseProtocol)
tests/test_web_request.py:1174
Function
test_multipart_formdata_file
(protocol: BaseProtocol)
tests/test_web_request.py:1195
Function
test_multipart_formdata_header_too_long
(protocol: BaseProtocol)
tests/test_web_request.py:1244
Function
test_multipart_formdata_headers_too_many
(protocol: BaseProtocol)
tests/test_web_request.py:1220
Function
test_multipart_formdata_too_many_fields
(protocol: BaseProtocol)
tests/test_web_request.py:1065
Function
test_multipart_formdata_within_field_limit
( protocol: BaseProtocol, client_max_fields: int, count: int )
tests/test_web_request.py:1081
Function
test_multipart_writer_close_with_exceptions
Test that MultipartWriter.close() continues closing all parts even if one raises.
tests/test_multipart.py:1988
Function
test_multipart_writer_consumed_follows_body_part_reader
A writer holding a drained body part reader must report itself consumed.
tests/test_multipart.py:2079
Function
test_multipart_writer_consumed_follows_parts
A writer holding an unreplayable part must report itself as consumed.
tests/test_multipart.py:2043
Function
test_multipart_writer_reusability
Test that MultipartWriter can be written multiple times.
tests/test_multipart.py:1838
Function
test_multipart_writer_reusability_with_io_payloads
Test that MultipartWriter with IO payloads can be reused.
tests/test_multipart.py:1889
Function
test_multiple_client_middlewares
Test that multiple middlewares are executed in order.
tests/test_client_middleware.py:147
Function
test_multiple_dns_resolution_requests_cancelled
Verify that DNS resolution cancellation does not affect other tasks.
tests/test_connector.py:2945
Function
test_multiple_dns_resolution_requests_failure
Verify that DNS resolution failure for multiple requests is handled correctly.
tests/test_connector.py:2892
Function
test_multiple_dns_resolution_requests_first_cancelled
Verify that first DNS resolution cancellation does not make other resolutions fail.
tests/test_connector.py:2997
Function
test_multiple_dns_resolution_requests_first_fails_second_successful
Verify that first DNS resolution fails the first time and is successful the second time.
tests/test_connector.py:3060
Function
test_multiple_dns_resolution_requests_success
Verify that multiple DNS resolution requests are handled correctly.
tests/test_connector.py:2830
Function
test_multiple_forwarded_headers
()
tests/test_web_request.py:834
Function
test_multiple_forwarded_headers_bad_syntax
()
tests/test_web_request.py:847
Function
test_multiple_forwarded_headers_injection
()
tests/test_web_request.py:861
Function
test_multiple_receive_on_close_connection
(make_request)
tests/test_web_websocket.py:642
Function
test_multiple_redirects_with_bytes_payload
Test BytesPayload with multiple redirects.
tests/test_client_functional.py:5632
Function
test_multiple_responses_one_byte_at_a_time
( loop: asyncio.AbstractEventLoop, )
tests/test_client_proto.py:94
Method
test_multiread
(self)
tests/test_multipart.py:322
Function
test_named_pipe_connector
( proactor_loop, named_pipe_server, pipe_name )
tests/test_connector.py:4085
Function
test_named_pipe_connector_not_found
(proactor_loop, pipe_name)
tests/test_connector.py:3874
Function
test_named_pipe_connector_permission
( proactor_loop: asyncio.AbstractEventLoop, pipe_name: str )
tests/test_connector.py:3885
Function
test_named_pipe_connector_wrong_loop
(selector_loop, pipe_name)
tests/test_connector.py:3866
Function
test_named_pipe_runner_proactor_loop
( proactor_loop: Any, app: Any, pipe_name: Any )
tests/test_web_runner.py:154
Function
test_named_pipe_runner_wrong_loop
( app: Any, selector_loop: Any, pipe_name: Any )
tests/test_web_runner.py:142
Function
test_named_resources
(router)
tests/test_urldispatch.py:860
Function
test_named_resources_abc
(router)
tests/test_urldispatch.py:855
Function
test_netrc_auth_from_env
Test that netrc authentication works when NETRC env var is set and trust_env=True.
tests/test_client_functional.py:4326
Function
test_netrc_auth_from_home_directory
Test that netrc authentication works from default ~/.netrc without NETRC env var.
tests/test_client_functional.py:4356
Function
test_netrc_auth_from_home_directory
Test that netrc authentication works from default ~/.netrc location without NETRC env var.
tests/test_client_session.py:1417
Function
test_netrc_auth_host_not_in_netrc
Test that netrc lookup returns None when host is not in netrc file.
tests/test_client_session.py:1465
Function
test_netrc_auth_overridden_by_explicit_auth
Test that explicit auth parameter overrides netrc authentication.
tests/test_client_functional.py:4370
Function
test_netrc_auth_overridden_by_explicit_auth
Test that explicit auth parameter overrides netrc authentication.
tests/test_client_session.py:1432
Function
test_netrc_auth_skipped_without_netrc_file
Test that netrc authentication is skipped when no netrc file exists.
tests/test_client_functional.py:4341
Function
test_netrc_auth_skipped_without_netrc_file
Test that netrc authentication is skipped when no netrc file exists.
tests/test_client_session.py:1406
Function
test_netrc_auth_skipped_without_trust_env
Test that netrc authentication is skipped when trust_env=False.
tests/test_client_session.py:1395
Function
test_netrc_auth_with_trust_env
Test that netrc authentication works with ClientSession when NETRC env var is set.
tests/test_client_session.py:1383
Function
test_netrc_from_env
Test that reading netrc files from env works as expected
tests/test_helpers.py:993
Function
test_netrc_from_home_does_not_raise_if_access_denied
( protected_dir: Path, monkeypatch: pytest.MonkeyPatch )
tests/test_helpers.py:1010
Function
test_network_error_connection_closed
Test that connections are closed after network errors.
tests/test_client_functional.py:5267
Method
test_never_expire
(self, monkeypatch: pytest.MonkeyPatch)
tests/test_connector.py:4180
Function
test_new_style_middleware_class
(loop, aiohttp_client)
tests/test_web_middleware.py:480
Function
test_new_style_middleware_method
(loop, aiohttp_client)
tests/test_web_middleware.py:503
Method
test_next
(self)
tests/test_multipart.py:124
Method
test_next
(self)
tests/test_multipart.py:148
Method
test_next_addrs
(self, dns_cache_table)
tests/test_connector.py:4194
Method
test_next_addrs_basic
(self, dns_cache_table)
tests/test_connector.py:4139
Method
test_next_addrs_single
(self, dns_cache_table)
tests/test_connector.py:4211
Method
test_next_next
(self)
tests/test_multipart.py:156
Function
test_no_body_for_1xx_204_304_responses
Test no body is present for for 1xx, 204, and 304 responses.
tests/test_web_functional.py:3095
Function
test_no_connection
()
tests/test_websocket_handshake.py:49
Function
test_no_content_length
( loop: asyncio.AbstractEventLoop, conn: mock.Mock )
tests/test_client_request.py:714
Function
test_no_content_length_head
(loop, conn)
tests/test_client_request.py:724
Function
test_no_content_length_with_chunked
Test that chunked encoding prevents Content-Length header.
tests/test_client_request.py:2314
Function
test_no_error_on_conn_close_if_eof
(aiohttp_client)
tests/test_client_functional.py:1428
Method
test_no_filename
(self)
tests/test_multipart_helpers.py:702
← previous
next →
4,001–4,100 of 5,960, ranked by callers