MCPcopy Create free account

hub / github.com/aio-libs/aiohttp / functions

Functions5,960 in github.com/aio-libs/aiohttp

Functiontest_disable_retry_persistent_connection
( aiohttp_client: AiohttpClient, )
tests/test_test_utils.py:339
Functiontest_discarded_data_does_not_hold_off_the_read_timeout
Bytes dropped after a protocol error are not progress. Rescheduling on them would let a peer flood a dead connection forever without ``sock_r
tests/test_client_proto.py:500
Methodtest_dispatch
(self)
tests/test_multipart.py:903
Methodtest_dispatch_bodypart
(self)
tests/test_multipart.py:912
Methodtest_dispatch_custom_multipart_reader
(self)
tests/test_multipart.py:944
Functiontest_dispatch_lowercase_method
Lowercase wire methods normalise on the request and dispatch correctly.
tests/test_urldispatch.py:185
Methodtest_dispatch_multipart
(self)
tests/test_multipart.py:921
Methodtest_dispext
(self)
tests/test_multipart_helpers.py:416
Methodtest_dispextbadfn
(self)
tests/test_multipart_helpers.py:421
Methodtest_disptype_with_trailing_space_before_semicolon
(self)
tests/test_multipart_helpers.py:688
Methodtest_disptype_with_trailing_space_no_params
(self)
tests/test_multipart_helpers.py:693
Functiontest_dns_error
(loop)
tests/test_connector.py:1608
Functiontest_dns_resolver_manager_client_registration
Test client registration and resolver release logic.
tests/test_resolver.py:637
Functiontest_dns_resolver_manager_missing_loop_data
Test that release_resolver handles missing loop data gracefully.
tests/test_resolver.py:760
Functiontest_dns_resolver_manager_multiple_event_loops
Test that DNSResolverManager correctly manages resolvers across different event loops.
tests/test_resolver.py:675
Functiontest_dns_resolver_manager_resolver_lifecycle
Test that DNSResolverManager creates and destroys resolver correctly.
tests/test_resolver.py:609
Functiontest_dns_resolver_manager_sharing
Test that the DNSResolverManager shares a resolver among AsyncResolver instances.
tests/test_resolver.py:573
Functiontest_dns_resolver_manager_singleton
Test that DNSResolverManager is a singleton.
tests/test_resolver.py:597
Functiontest_dns_resolver_manager_weakref_garbage_collection
Test that release_resolver handles None resolver due to weakref garbage collection.
tests/test_resolver.py:734
Functiontest_does_not_answer_cross_origin_challenge_without_redirect
Origin scoping applies to any cross-origin request, not just redirects. After authenticating against the anchor origin, a direct request to a
tests/test_client_middleware_digest_auth.py:1377
Functiontest_does_not_answer_cross_origin_redirect_challenge
A cross-origin redirect target must not receive a digest response. aiohttp strips the Authorization header on cross-origin redirects; the dig
tests/test_client_middleware_digest_auth.py:1255
Methodtest_domain_filter_diff_host
(self)
tests/test_cookiejar.py:629
Methodtest_domain_filter_host_only
(self)
tests/test_cookiejar.py:643
Functiontest_domain_filter_ip_cookie_receive
(cookies_to_receive)
tests/test_cookiejar.py:428
Functiontest_domain_filter_ip_cookie_send
()
tests/test_cookiejar.py:398
Methodtest_domain_filter_same_host
(self)
tests/test_cookiejar.py:574
Methodtest_domain_filter_same_host_and_subdomain
(self)
tests/test_cookiejar.py:589
Methodtest_domain_filter_same_host_diff_subdomain
(self)
tests/test_cookiejar.py:614
Functiontest_domain_matching
()
tests/test_cookiejar.py:201
Functiontest_domain_valid
()
tests/test_urldispatch.py:1117
Functiontest_domain_validation_error
(domain, error)
tests/test_urldispatch.py:1112
Functiontest_dont_close_explicit_connector
(aiohttp_client)
tests/test_client_functional.py:4453
Functiontest_double_add_url_with_the_same_name
(router)
tests/test_urldispatch.py:325
Functiontest_double_close
(connector, create_session)
tests/test_client_session.py:487
Functiontest_double_quote_domain_does_not_break_future_requests
End-to-end regression for a ``domain`` directive of just a double quote. The first request triggers the challenge and authenticates on retry. Bef
tests/test_client_middleware_digest_auth.py:1579
Methodtest_doublecolon
(self)
tests/test_multipart_helpers.py:301
Functiontest_doubleslashes
()
tests/test_web_request.py:183
Functiontest_drain
(protocol, transport, loop)
tests/test_http_writer.py:890
Functiontest_drain_before_start
()
tests/test_web_response.py:1585
Functiontest_drain_elsewhere_does_not_lift_the_tail_pause
A resume from elsewhere must not lift the pause the tail bound took. ``WebSocketDataQueue`` and ``StreamReader`` both call ``resume_reading()``
tests/test_client_proto.py:482
Functiontest_drain_leaves_the_clock_stopped_for_a_flow_control_pause
The drain restarts sock_read; any hold on the transport must stop it. The tail bound is not the only reason reading can be held, so the rule is
tests/test_client_proto.py:589
Functiontest_drain_lost
()
tests/test_base_protocol.py:122
Functiontest_drain_no_transport
(protocol, transport, loop)
tests/test_http_writer.py:896
Functiontest_drain_not_paused
()
tests/test_base_protocol.py:132
Functiontest_drain_resumes_parsing_in_batches
(protocol: BaseProtocol)
tests/test_websocket_parser.py:1276
Functiontest_drain_that_completes_a_response_leaves_the_clock_stopped
Resuming must not revive a timeout the drain deliberately dropped. ``data_received()`` owns the read clock: it stops it when a response compl
tests/test_client_proto.py:567
Functiontest_drain_that_refills_the_tail_stays_paused
A drain that cannot empty the buffer must leave the bound in force. ``set_response_params()`` drains through ``data_received()``, which can h
tests/test_client_proto.py:545
Functiontest_drop_auth_on_redirect_to_other_host
( create_server_for_url_and_handler, url_from, url_to, )
tests/test_client_functional.py:3812
Functiontest_drop_auth_on_redirect_to_other_host_with_global_auth_and_base_url
( create_server_for_url_and_handler, )
tests/test_client_functional.py:4007
Functiontest_drop_content_length_header_on_setting_len_to_None
()
tests/test_web_response.py:246
Functiontest_drop_duplicate_auth_headers_on_redirect_to_other_host
Every copy of a credential header is dropped, not just the first one.
tests/test_client_functional.py:3962
Functiontest_drop_fragment
(aiohttp_client)
tests/test_client_functional.py:997
Functiontest_drop_fragment_on_redirect
(aiohttp_client)
tests/test_client_functional.py:980
Functiontest_drop_params_on_redirect
(aiohttp_client: AiohttpClient)
tests/test_client_functional.py:963
Functiontest_drop_timeout
(loop)
tests/test_client_proto.py:251
Functiontest_dummy_cookie_jar
()
tests/test_cookiejar.py:886
Functiontest_dummy_cookie_jar_cookies_property
()
tests/test_cookiejar.py:901
Functiontest_dummy_cookie_jar_does_not_parse_headers
()
tests/test_cookiejar.py:1671
Functiontest_dummy_cookie_jar_update_cookies_from_headers
Test that DummyCookieJar ignores update_cookies_from_headers.
tests/test_cookiejar.py:1653
Functiontest_duplicate_host_header_different_casing_rejected
Duplicate Host with different casing must also be rejected.
tests/test_http_parser.py:651
Functiontest_duplicate_host_header_rejected
(parser: HttpRequestParser)
tests/test_http_parser.py:609
Functiontest_duplicate_non_security_singleton_header_rejected_strict
Non-security singletons are rejected in strict mode (requests).
tests/test_http_parser.py:570
Functiontest_duplicate_singleton_header_accepted_in_lax_mode
All singleton duplicates are accepted in lax mode (response parser default).
tests/test_http_parser.py:600
Functiontest_duplicate_singleton_header_different_casing_rejected
Singleton check must be case-insensitive per RFC 9110.
tests/test_http_parser.py:635
Functiontest_duplicate_singleton_header_rejected
( parser: HttpRequestParser, hdr: str )
tests/test_http_parser.py:543
Functiontest_dynamic_match_double_quoted_path
Verify that double-quoted path is unquoted only once.
tests/test_urldispatch.py:799
Functiontest_dynamic_match_non_ascii
(router)
tests/test_urldispatch.py:764
Functiontest_dynamic_match_two_part2
(router)
tests/test_urldispatch.py:782
Functiontest_dynamic_match_unquoted_path
(router)
tests/test_urldispatch.py:790
Functiontest_dynamic_match_with_static_part
(router)
tests/test_urldispatch.py:774
Functiontest_dynamic_not_match
(router)
tests/test_urldispatch.py:492
Functiontest_dynamic_resource_canonical
()
tests/test_urldispatch.py:1366
Functiontest_dynamic_url_with_name_started_from_underscore
(router)
tests/test_urldispatch.py:1326
Functiontest_dynamic_with_trailing_slash
(router: web.UrlDispatcher)
tests/test_urldispatch.py:542
Methodtest_emit_next
(self)
tests/test_multipart.py:967
Methodtest_empty_body
(self, protocol: BaseProtocol)
tests/test_http_parser.py:3596
Functiontest_empty_body_204
()
tests/test_web_exceptions.py:181
Functiontest_empty_body_205
()
tests/test_web_exceptions.py:186
Functiontest_empty_body_304
()
tests/test_web_exceptions.py:191
Functiontest_empty_content_for_query_with_body
(aiohttp_client)
tests/test_web_functional.py:855
Functiontest_empty_content_for_query_without_body
(method, aiohttp_client)
tests/test_web_functional.py:839
Functiontest_empty_data
(loop)
tests/test_client_proto.py:236
Functiontest_empty_header_name
(parser)
tests/test_http_parser.py:1294
Functiontest_empty_header_values
(aiohttp_client)
tests/test_client_functional.py:1132
Functiontest_empty_messages_apply_backpressure
(protocol: BaseProtocol)
tests/test_websocket_parser.py:1187
Methodtest_empty_param_value_multiple
Multiple params where one has empty value must not raise IndexError.
tests/test_multipart_helpers.py:679
Methodtest_empty_param_value_no_crash
Empty param value (e.g. filename=) must not raise IndexError.
tests/test_multipart_helpers.py:672
Functiontest_empty_params_and_query_string
Test combining empty params with an existing query_string.
tests/test_client_functional.py:946
Functiontest_empty_response_non_chunked
Test non-chunked response with empty body.
tests/test_client_functional.py:5357
Functiontest_empty_stream_reader
()
tests/test_streams.py:1160
Functiontest_empty_stream_reader_iter_chunks
()
tests/test_streams.py:1181
Methodtest_emptydisposition
(self)
tests/test_multipart_helpers.py:295
Functiontest_enable_chunked_encoding_with_content_length
()
tests/test_web_response.py:494
Functiontest_encode_algorithm_case_preservation_lowercase
Test that lowercase/mixed-case algorithm is preserved in the response header.
tests/test_client_middleware_digest_auth.py:299
Functiontest_encode_algorithm_case_preservation_uppercase
Test that uppercase algorithm case is preserved in the response header.
tests/test_client_middleware_digest_auth.py:279
Functiontest_encode_basic_auth
()
tests/test_helpers.py:180
Functiontest_encode_basic_auth_rejects_colon_in_login
()
tests/test_helpers.py:189
Functiontest_encode_digest_with_md5
( auth_mw_with_challenge: DigestAuthMiddleware, )
tests/test_client_middleware_digest_auth.py:193
Functiontest_encode_digest_with_sess_algorithms
Test that all session-based digest algorithms work correctly.
tests/test_client_middleware_digest_auth.py:248
Functiontest_encode_unsupported_algorithm
Test that unsupported algorithm raises ClientError.
tests/test_client_middleware_digest_auth.py:265
← previousnext →3,301–3,400 of 5,960, ranked by callers