MCPcopy Create free account

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

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

Functiontest_timeout_on_session_read_timeout
(aiohttp_client, mocker)
tests/test_client_functional.py:1205
Functiontest_timeout_on_write_bytes_not_wrapped
An asyncio.TimeoutError from the write is not wrapped in ClientOSError.
tests/test_client_request.py:2471
Functiontest_timeout_with_full_buffer
(aiohttp_client)
tests/test_client_functional.py:4794
Functiontest_timer_context_no_task
(loop: asyncio.AbstractEventLoop)
tests/test_helpers.py:545
Functiontest_timer_context_not_cancelled
()
tests/test_helpers.py:478
Functiontest_timer_context_timeout_does_not_leak_upward
Verify that the TimerContext does not leak cancellation outside the context manager.
tests/test_helpers.py:495
Functiontest_timer_context_timeout_does_swallow_cancellation
Verify that the TimerContext does not swallow cancellation.
tests/test_helpers.py:514
Functiontest_too_many_redirects_closes_payload
Test that TooManyRedirects exception closes the request payload.
tests/test_client_functional.py:5746
Methodtest_trace_config_ctx_custom_class
Custom class instances should be accepted as trace_request_ctx (#10753).
tests/test_tracing.py:45
Methodtest_trace_config_ctx_default
(self)
tests/test_tracing.py:29
Methodtest_trace_config_ctx_factory
(self)
tests/test_tracing.py:33
Methodtest_trace_config_ctx_request_ctx
(self)
tests/test_tracing.py:37
Functiontest_trace_start_failure_notifies_started_traces
Traces whose on_request_start already ran get the terminal event.
tests/test_client_functional.py:6887
Functiontest_transport_stays_paused_while_stash_remains
( protocol: BaseProtocol, )
tests/test_websocket_parser.py:1301
Functiontest_treat_as_secure_origin
()
tests/test_cookiejar.py:1285
Functiontest_treat_as_secure_origin_init
(url)
tests/test_cookiejar.py:1280
Functiontest_treat_as_secure_origin_sends_secure_shared_cookie
()
tests/test_cookiejar.py:1303
Functiontest_trickled_headers_closed_at_first_request_deadline
Partial header bytes must not extend the first-request deadline.
tests/test_web_server.py:491
Functiontest_two_content_length_responses_in_one_call
Two complete responses in a single feed_data call. The first payload completes with tail data for the second, hitting the PAYLOAD_COMPLETE br
tests/test_http_parser.py:1519
Functiontest_uncompleted_message
(loop)
tests/test_client_proto.py:63
Functiontest_unexpected_exception_during_data_received
( loop: asyncio.AbstractEventLoop, )
tests/test_client_proto.py:131
Functiontest_unicode_get1
(make_request)
tests/test_client_request.py:550
Functiontest_unicode_get2
(make_request)
tests/test_client_request.py:555
Functiontest_unicode_get3
(make_request)
tests/test_client_request.py:561
Functiontest_unicode_get4
(make_request)
tests/test_client_request.py:566
Functiontest_unicode_text_body_unauthorized
Test that HTTPUnauthorized can be initialized with a string.
tests/test_web_exceptions.py:270
Functiontest_unittest_run_loop
()
tests/test_test_utils.py:150
Functiontest_unix_connector
(unix_server, unix_sockname)
tests/test_connector.py:4054
Functiontest_unix_connector_not_found
(loop)
tests/test_connector.py:3844
Functiontest_unix_connector_permission
(loop: asyncio.AbstractEventLoop)
tests/test_connector.py:3853
Functiontest_unknown_frame
( out: WebSocketDataQueue, parser: PatchableWebSocketReader )
tests/test_websocket_parser.py:330
Functiontest_unknown_header_name_is_reused
(loop: asyncio.AbstractEventLoop)
tests/test_http_parser.py:335
Functiontest_unknown_header_name_keeps_its_spelling
( loop: asyncio.AbstractEventLoop, name: str )
tests/test_http_parser.py:316
Functiontest_unknown_header_names_are_bounded
( loop: asyncio.AbstractEventLoop, )
tests/test_http_parser.py:353
Functiontest_unlimited_jar_leaves_unencodable_cookie_to_the_writer
()
tests/test_cookiejar.py:2549
Functiontest_unpaired_surrogate_in_header_py
( loop: asyncio.AbstractEventLoop, server: Server )
tests/test_http_parser.py:504
Functiontest_unquote_basic
Test basic _unquote functionality.
tests/test_cookie_helpers.py:1822
Functiontest_unquote_compatibility_with_simplecookie
Test that _unquote behaves like SimpleCookie's unquoting.
tests/test_cookie_helpers.py:1991
Functiontest_unquote_edge_cases
Test _unquote edge cases.
tests/test_cookie_helpers.py:1951
Functiontest_unquote_escaped_backslashes
Test _unquote with escaped backslashes.
tests/test_cookie_helpers.py:1870
Functiontest_unquote_escaped_quotes
Test _unquote with escaped quotes.
tests/test_cookie_helpers.py:1854
Functiontest_unquote_mixed_escapes
Test _unquote with mixed escape sequences.
tests/test_cookie_helpers.py:1928
Functiontest_unquote_octal_full_range
Test _unquote with full range of valid octal sequences.
tests/test_cookie_helpers.py:1911
Functiontest_unquote_octal_sequences
Test _unquote with octal escape sequences.
tests/test_cookie_helpers.py:1892
Functiontest_unquote_quoted_strings
Test _unquote with quoted strings.
tests/test_cookie_helpers.py:1839
Functiontest_unquote_real_world_examples
Test _unquote with real-world cookie value examples.
tests/test_cookie_helpers.py:1972
Methodtest_unquoted_boundary
(self)
tests/test_multipart.py:1559
Functiontest_unread_compressed_body_drain_is_bounded
Draining an unread compressed body stays bounded by the read buffer. A handler that rejects before reading still drains the payload during li
tests/test_web_functional.py:2176
Methodtest_unread_data
(self)
tests/test_streams.py:637
Methodtest_unread_empty
(self)
tests/test_streams.py:1145
Functiontest_unreg_site
(make_runner: Any)
tests/test_web_runner.py:108
Functiontest_unsupported_upgrade
(aiohttp_raw_server, aiohttp_client)
tests/test_web_server.py:27
Functiontest_update_body_closes_previous_payload
Test that update_body properly closes the previous payload.
tests/test_client_request.py:1948
Functiontest_update_body_get_method_with_none_body
Test that update_body with GET method and None body doesn't call update_transfer_encoding.
tests/test_client_request.py:2049
Functiontest_update_body_none_no_content_length_for_get_methods
Test that updating body to None doesn't set Content-Length for GET-like methods.
tests/test_client_request.py:2345
Functiontest_update_body_none_sets_content_length_zero
Test that updating body to None sets Content-Length: 0 for POST-like methods.
tests/test_client_request.py:2329
Functiontest_update_body_updates_content_length
Test that update_body properly updates Content-Length header when body size changes.
tests/test_client_request.py:2071
Functiontest_update_body_with_chunked_encoding
Test that update_body properly handles chunked transfer encoding.
tests/test_client_request.py:2019
Functiontest_update_body_with_different_types
Test update_body with various data types.
tests/test_client_request.py:1998
Functiontest_update_cookie_with_unicode_domain
(loop)
tests/test_cookiejar.py:275
Functiontest_update_cookies_copies_caller_morsel
Test that mutating a Morsel after update_cookies() does not change the jar. https://github.com/aio-libs/aiohttp/issues/13634
tests/test_cookiejar.py:2573
Functiontest_update_cookies_does_not_mutate_caller_morsel
Test that update_cookies() normalization does not leak into the caller's Morsel. https://github.com/aio-libs/aiohttp/issues/13634
tests/test_cookiejar.py:2590
Functiontest_update_cookies_from_headers
Test update_cookies_from_headers method.
tests/test_cookiejar.py:1382
Functiontest_update_cookies_from_headers
Benchmark storing the Set-Cookie fields of one response in a new jar.
tests/test_benchmarks_cookiejar.py:58
Functiontest_update_cookies_from_headers_duplicate_names
Test that duplicate cookie names with different domains are preserved.
tests/test_cookiejar.py:1416
Functiontest_update_cookies_from_headers_empty_list
Test that empty header list is handled gracefully.
tests/test_cookiejar.py:1519
Functiontest_update_cookies_from_headers_invalid_cookies
Test that invalid cookies are logged and skipped.
tests/test_cookiejar.py:1444
Functiontest_update_cookies_from_headers_overwrites_same_cookie
Test that cookies with same name/domain/path are overwritten.
tests/test_cookiejar.py:1606
Functiontest_update_cookies_from_headers_preserves_existing
Test that update_cookies_from_headers preserves existing cookies.
tests/test_cookiejar.py:1575
Functiontest_update_cookies_from_headers_replacing
Benchmark a response replacing the values of cookies already in the jar.
tests/test_benchmarks_cookiejar.py:71
Functiontest_update_cookies_from_headers_with_attributes
Test cookies with various attributes are handled correctly.
tests/test_cookiejar.py:1530
Functiontest_update_cookies_from_headers_with_curly_braces
Test that cookies with curly braces in names are now accepted (#2683).
tests/test_cookiejar.py:1473
Functiontest_update_cookies_from_headers_with_special_chars
Test that cookies with various special characters are accepted.
tests/test_cookiejar.py:1495
Functiontest_update_cookies_max_age_beyond_float_range_is_clamped
A hostile Max-Age larger than float max must clamp, not raise OverflowError.
tests/test_cookiejar.py:3160
Functiontest_update_cookies_negative_max_age_beyond_float_range_expires
A negative Max-Age below float min must expire the cookie, not raise.
tests/test_cookiejar.py:3171
Functiontest_update_cookies_rejects_cookie_that_cannot_be_sent
( caplog: pytest.LogCaptureFixture, value: str )
tests/test_cookiejar.py:2536
Functiontest_update_cookies_unquotes_domain_and_path_attributes
()
tests/test_cookiejar.py:1906
Functiontest_update_cookies_with_quoted_existing_header
Test that update_cookies handles existing cookies with quoted values.
tests/test_client_request.py:660
Functiontest_update_cookies_with_special_chars_in_existing_header
Test that update_cookies handles existing cookies with special characters.
tests/test_client_request.py:638
Functiontest_upgrade_connection_not_released_after_read
(aiohttp_client)
tests/test_client_functional.py:257
Functiontest_upgrade_header_non_ascii
(parser: HttpRequestParser)
tests/test_http_parser.py:959
Functiontest_upgrade_tail_is_byte_limited
Bytes buffered behind an in-flight upgrade must not grow unbounded. A request the parser flagged as an upgrade has no payload, so everything
tests/test_web_functional.py:1906
Functiontest_upgrade_tail_resumes_reading_after_websocket_prepare
A websocket paused while its tail filled up must keep reading. A client may pipeline frames straight after the handshake request, filling the
tests/test_web_functional.py:1986
Functiontest_upload_complete_deprecated_late_access
First access after the upload finished returns an already-done future.
tests/test_client_functional.py:7007
Functiontest_upload_file
(aiohttp_client)
tests/test_web_functional.py:788
Functiontest_upload_file_object
(aiohttp_client)
tests/test_web_functional.py:812
Functiontest_upload_retry_persistent_connection_unseekable_body
An unreplayable body must not be silently resent truncated on retry.
tests/test_client_functional.py:6329
Functiontest_upload_tracker_bytes
(aiohttp_client: AiohttpClient)
tests/test_client_functional.py:6401
Functiontest_upload_tracker_bytes_written_compressed_estimate
The in-chunk estimate scales payload bytes over smaller wire bytes.
tests/test_client_request.py:2596
Functiontest_upload_tracker_bytes_written_frozen_on_teardown
A closing transport keeps the last kernel-confirmed value.
tests/test_client_request.py:2612
Functiontest_upload_tracker_bytes_written_kernel_gated
bytes_written excludes bytes still queued in the transport.
tests/test_client_request.py:2573
Functiontest_upload_tracker_cancelled_attempt_superseded_by_resend
A cancelled non-final attempt leaves the future pending for a resend.
tests/test_client_request.py:2399
Functiontest_upload_tracker_checkpoint_queue_bounded
Flushed checkpoints are pruned even when nobody polls bytes_written.
tests/test_client_request.py:2695
Functiontest_upload_tracker_closed_session
A request on a closed session settles the tracker.
tests/test_client_functional.py:6976
Functiontest_upload_tracker_compressed_body
bytes_written reports pre-compression payload bytes, not wire bytes.
tests/test_client_functional.py:2001
Functiontest_upload_tracker_compressor_buffered_chunk_not_reported
A chunk swallowed by the compressor is not reported as sent.
tests/test_client_request.py:2630
Functiontest_upload_tracker_connect_error
A request failing before the body write leaves the future cancelled.
tests/test_client_functional.py:6702
Functiontest_upload_tracker_dispatched_resend_never_writing
A dispatched resend that never starts writing settles as aborted.
tests/test_client_request.py:2549
Functiontest_upload_tracker_error_after_response
Upload failure after the request succeeded stays on the future.
tests/test_client_functional.py:6640
Functiontest_upload_tracker_expect100
(aiohttp_client: AiohttpClient)
tests/test_client_functional.py:6507
← previousnext →5,501–5,600 of 5,960, ranked by callers