MCPcopy Create free account

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

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

Functiontest_upload_tracker_externally_cancelled_future
User code cancelling upload_complete must not break settling.
tests/test_client_request.py:2412
Functiontest_upload_tracker_failed_attempt_superseded_by_resend
Only the final attempt's outcome is reported after a resend.
tests/test_client_request.py:2386
Functiontest_upload_tracker_invalid_proxy
An invalid proxy URL settles the tracker before the request is built.
tests/test_client_functional.py:6989
Functiontest_upload_tracker_middleware_resend
A middleware resending the request counts a new attempt.
tests/test_client_functional.py:6786
Functiontest_upload_tracker_middleware_short_circuit
A middleware answering without sending the request aborts the upload.
tests/test_client_functional.py:6754
Functiontest_upload_tracker_multipart
(aiohttp_client: AiohttpClient)
tests/test_client_functional.py:6420
Functiontest_upload_tracker_no_body
A bodyless request settles the tracker with a zero-byte attempt.
tests/test_client_functional.py:6488
Functiontest_upload_tracker_non_http_scheme
A request rejected before being built settles the tracker.
tests/test_client_functional.py:6839
Functiontest_upload_tracker_progress
bytes_written advances by exactly one chunk per yield.
tests/test_client_functional.py:6443
Functiontest_upload_tracker_rebind_raises
(aiohttp_client: AiohttpClient)
tests/test_client_functional.py:6823
Functiontest_upload_tracker_redirect_drops_body
A 303 redirect turns POST into a bodyless GET; the final attempt sent 0 bytes.
tests/test_client_functional.py:6556
Functiontest_upload_tracker_redirect_resends_body
A 307 redirect resends the body as a new attempt of the same tracker.
tests/test_client_functional.py:6528
Functiontest_upload_tracker_redirect_to_unreachable_host
A resend failing before its body write must not report success.
tests/test_client_functional.py:6582
Functiontest_upload_tracker_request_cancelled
( aiohttp_client: AiohttpClient, )
tests/test_client_functional.py:6722
Functiontest_upload_tracker_settles_after_early_response
A server can respond before the body is sent; the future settles later.
tests/test_client_functional.py:6606
Functiontest_upload_tracker_stale_attempt_events_ignored
Events from a superseded attempt must not affect the current one.
tests/test_client_request.py:2360
Functiontest_upload_tracker_trace_start_failure
A failing on_request_start trace disarms the timeout and settles the tracker.
tests/test_client_functional.py:6857
Functiontest_upload_tracker_unretrieved_error_not_logged
A settled upload error must not log 'Future exception was never retrieved'.
tests/test_client_request.py:2488
Functiontest_upload_tracker_upload_error_propagated_to_caller
The upload failure the request raises is the one on the future.
tests/test_client_functional.py:6676
Functiontest_upload_tracker_validation_failure
Argument validation failures settle the tracker instead of hanging it.
tests/test_client_functional.py:6956
Functiontest_upload_tracker_writer_without_transport
A writer without a transport reports progress only on completion.
tests/test_client_request.py:2652
Functiontest_url_absolute
(parser: Any)
tests/test_http_parser.py:1160
Functiontest_url_absolute_form_empty_host_rejected
( parser: HttpRequestParser, target: bytes )
tests/test_http_parser.py:1204
Functiontest_url_absolute_form_invalid_port_rejected
(parser: HttpRequestParser)
tests/test_http_parser.py:1212
Functiontest_url_asterisk_form_only_options
(parser: HttpRequestParser)
tests/test_http_parser.py:1240
Functiontest_url_asterisk_form_options
(parser: HttpRequestParser)
tests/test_http_parser.py:1234
Functiontest_url_authority_form_only_connect
(parser: HttpRequestParser)
tests/test_http_parser.py:1173
Functiontest_url_connect
(parser: Any)
tests/test_http_parser.py:1144
Functiontest_url_connect_empty_host_rejected
(parser: HttpRequestParser)
tests/test_http_parser.py:1224
Functiontest_url_connect_invalid_port_rejected
(parser: HttpRequestParser)
tests/test_http_parser.py:1219
Functiontest_url_escaping
( aiohttp_client: AiohttpClient, registered_path: str, request_url: str )
tests/test_web_urldispatcher.py:382
Functiontest_url_for_in_resource_route
(router)
tests/test_urldispatch.py:1091
Functiontest_url_for_in_static_resource
(router)
tests/test_urldispatch.py:1079
Functiontest_url_for_in_static_resource_pathlib
(router)
tests/test_urldispatch.py:1084
Functiontest_url_http_with_closed_transport
()
tests/test_web_request.py:1341
Functiontest_url_https_with_closed_transport
()
tests/test_web_request.py:1347
Functiontest_url_ipv6
()
tests/test_web_request.py:899
Functiontest_url_non_default_port
()
tests/test_web_request.py:894
Functiontest_url_obj_deprecated
()
tests/test_client_response.py:222
Functiontest_url_origin_form_bare_slash
(parser: HttpRequestParser)
tests/test_http_parser.py:1229
Functiontest_url_url
()
tests/test_web_request.py:889
Functiontest_url_with_many_slashes
(aiohttp_client: AiohttpClient)
tests/test_web_urldispatcher.py:994
Functiontest_urlencoded_form_empty_body
(protocol: BaseProtocol)
tests/test_web_request.py:1145
Functiontest_urlencoded_form_empty_segments_count
(protocol: BaseProtocol)
tests/test_web_request.py:1119
Functiontest_urlencoded_form_parse_qsl_parity
(protocol: BaseProtocol)
tests/test_web_request.py:1152
Functiontest_urlencoded_form_too_many_fields
(protocol: BaseProtocol)
tests/test_web_request.py:1108
Functiontest_urlencoded_form_with_non_utf8_charset
(protocol: BaseProtocol)
tests/test_web_request.py:1166
Functiontest_urlencoded_form_within_field_limit
( protocol: BaseProtocol, client_max_fields: int, count: int )
tests/test_web_request.py:1129
Functiontest_urlencoded_formdata_charset
(loop, conn)
tests/test_client_request.py:802
Functiontest_urlencoded_querystring
()
tests/test_web_request.py:217
Functiontest_using_gzip_if_header_present_and_file_available
(loop)
tests/test_web_sendfile.py:14
Functiontest_uvloop_secure_https_proxy
Ensure HTTPS sites are accessible through a secure proxy without warning when using uvloop.
tests/test_proxy_functional.py:234
Functiontest_verify_ssl_false_with_ssl_context
(loop, ssl_ctx)
tests/test_client_request.py:1514
Functiontest_version_1_0
(make_request)
tests/test_client_request.py:145
Functiontest_version_default
(make_request)
tests/test_client_request.py:150
Functiontest_version_err
(make_request)
tests/test_client_request.py:172
Functiontest_view_route
(router)
tests/test_urldispatch.py:896
Functiontest_wait_closed_before_start
()
tests/test_web_websocket.py:500
Methodtest_wait_eof
(self)
tests/test_streams.py:115
Methodtest_wait_eof_eof
(self)
tests/test_streams.py:129
Functiontest_wait_for
(aiohttp_client)
tests/test_client_functional.py:1088
Functiontest_wait_for_100_1
(loop, session)
tests/test_client_response.py:125
Functiontest_wait_for_100_2
(loop, session)
tests/test_client_response.py:144
Functiontest_warn_if_unclosed_payload_via_body_setter
Test that _warn_if_unclosed_payload is called when setting body with unclosed payload.
tests/test_client_request.py:1802
Functiontest_warn_if_unclosed_payload_via_update_body_from_data
Test that _warn_if_unclosed_payload is called via update_body_from_data.
tests/test_client_request.py:1879
Functiontest_warn_stacklevel_points_to_user_code
Test that the warning stacklevel correctly points to user code.
tests/test_client_request.py:2099
Functiontest_warn_stacklevel_update_body_from_data
Test that warning stacklevel is correct when called from update_body_from_data.
tests/test_client_request.py:2137
Functiontest_warn_via_update_with_file_payload
Test warning via update_body_from_data with file-like object.
tests/test_client_request.py:1906
Functiontest_warning_checks
(testdir)
tests/test_pytest_plugin.py:153
Functiontest_weakref_handle
(loop)
tests/test_helpers.py:554
Functiontest_weakref_handle_weak
(loop)
tests/test_helpers.py:571
Functiontest_weakref_handle_with_small_threshold
(loop)
tests/test_helpers.py:561
Functiontest_web___all__
(pytester: pytest.Pytester)
tests/test_imports.py:21
Functiontest_web_response_with_bytes_body
Benchmark creating 100 web.Response with bytes.
tests/test_benchmarks_web_response.py:76
Functiontest_web_response_with_headers
Benchmark creating 100 web.Response with headers.
tests/test_benchmarks_web_response.py:28
Functiontest_web_response_with_text_body
Benchmark creating 100 web.Response with text.
tests/test_benchmarks_web_response.py:88
Functiontest_web_view
(aiohttp_client: AiohttpClient)
tests/test_web_urldispatcher.py:823
Functiontest_websocket_can_prepare
(loop, aiohttp_client)
tests/test_web_websocket_functional.py:22
Functiontest_websocket_connection_cancellation
Test canceling the WebSocket connection task does not raise an exception in __del__.
tests/test_client_ws_functional.py:1505
Functiontest_websocket_connection_not_closed_properly
Test that closing the connection via __del__ does not raise an exception.
tests/test_client_ws_functional.py:1481
Functiontest_websocket_disable_keepalive
(loop, aiohttp_client)
tests/test_web_websocket_functional.py:1303
Functiontest_websocket_disable_keepalive_no_armed_handle
keep_alive(False) when no keepalive timer was armed (keepalive_timeout=0).
tests/test_web_websocket_functional.py:1330
Functiontest_websocket_frames_pipelined_behind_request_burst
A websocket upgraded from within a request burst still reads frames. The parser stops at the upgrade request and buffers everything after it,
tests/test_web_websocket_functional.py:256
Functiontest_websocket_json
(aiohttp_client: AiohttpClient)
tests/test_web_websocket_functional.py:408
Functiontest_websocket_json_invalid_message
(loop, aiohttp_client)
tests/test_web_websocket_functional.py:437
Functiontest_websocket_mask_cython
()
tests/test_websocket_parser.py:562
Functiontest_websocket_mask_cython_empty
()
tests/test_websocket_parser.py:580
Functiontest_websocket_mask_python
()
tests/test_websocket_parser.py:553
Functiontest_websocket_mask_python_empty
()
tests/test_websocket_parser.py:571
Functiontest_websocket_not_ready
()
tests/test_web_websocket.py:294
Functiontest_websocket_parser_error_discards_later_data
A WebSocket protocol error drops what follows instead of buffering it. EOF is only ever reported for a protocol error, and the connection stays
tests/test_client_proto.py:416
Functiontest_websocket_prepare_timeout_close_issue
Test that WebSocket can handle prepare with early returns. This is a regression test for issue #6009 where the prepared property incorrectly
tests/test_web_websocket_functional.py:1688
Functiontest_websocket_prepare_timeout_from_issue_reproducer
Test websocket behavior when prepare is interrupted. This test verifies the fix for issue #6009 where close() would fail after prepare() was
tests/test_web_websocket_functional.py:1717
Functiontest_websocket_prepared_property
Test that WebSocketResponse.prepared property correctly reflects state.
tests/test_web_websocket_functional.py:1763
Functiontest_websocket_ready
()
tests/test_web_websocket.py:288
Functiontest_websocket_ready_unknown_protocol
()
tests/test_web_websocket.py:300
Functiontest_websocket_receive_json
(loop, aiohttp_client)
tests/test_web_websocket_functional.py:486
Functiontest_websocket_send_json
(loop, aiohttp_client)
tests/test_web_websocket_functional.py:463
Functiontest_websocket_shutdown
Test that the client websocket gets the close message when the server is shutting down.
tests/test_web_websocket_functional.py:1517
Functiontest_when_timeout_smaller_second
(loop)
tests/test_helpers.py:444
← previousnext →5,601–5,700 of 5,960, ranked by callers