MCPcopy Create free account

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

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

Functiontest_send_recv_compress_wbit_error
(aiohttp_client)
tests/test_client_ws_functional.py:1278
Functiontest_send_recv_compress_wbits
(aiohttp_client)
tests/test_client_ws_functional.py:1251
Functiontest_send_recv_frame
(aiohttp_client: AiohttpClient)
tests/test_client_ws_functional.py:394
Functiontest_send_recv_json
(loop, aiohttp_client)
tests/test_web_websocket_functional.py:580
Functiontest_send_recv_json
(aiohttp_client: AiohttpClient)
tests/test_client_ws_functional.py:297
Functiontest_send_recv_json_bytes
(aiohttp_client: AiohttpClient)
tests/test_client_ws_functional.py:319
Functiontest_send_recv_text
(loop, aiohttp_client)
tests/test_web_websocket_functional.py:511
Functiontest_send_recv_text
(aiohttp_client: AiohttpClient)
tests/test_client_ws_functional.py:163
Functiontest_send_recv_text_bad_type
(aiohttp_client)
tests/test_client_ws_functional.py:253
Functiontest_send_set_cookie_header
(buf, writer)
tests/test_web_response.py:1422
Functiontest_send_str_closed
(make_request)
tests/test_web_websocket.py:362
Functiontest_send_str_nonstring
(make_request)
tests/test_web_websocket.py:194
Functiontest_send_text
(writer: WebSocketWriter)
tests/test_websocket_writer.py:48
Functiontest_send_text_masked
(protocol, transport)
tests/test_websocket_writer.py:84
Functiontest_send_with_per_message_deflate
(make_request, mocker)
tests/test_web_websocket.py:698
Functiontest_sendfile_after_client_disconnect
Test ConnectionResetError when client disconnects before sendfile. Reproduces the race condition where: - Client sends a GET request for a fi
tests/test_web_sendfile_functional.py:1169
Functiontest_sendfile_fallback_respects_count_boundary
Regression test: _sendfile_fallback should not read beyond the requested count. Previously the first chunk used the full chunk_size even when cou
tests/test_web_sendfile.py:167
Functiontest_serialize_headers
Benchmark 100 calls to _serialize_headers.
tests/test_benchmarks_http_writer.py:18
Functiontest_serialize_headers_allows_htab_in_value
Verify HTAB (0x09) remains permitted in field values per RFC 9110.
tests/test_http_writer.py:1060
Functiontest_serialize_headers_raises_on_forbidden_control_chars_in_name
Verify serialize_headers rejects RFC 9110-forbidden CTLs in names.
tests/test_http_writer.py:1028
Functiontest_serialize_headers_raises_on_forbidden_control_chars_in_status_line
Verify serialize_headers rejects RFC 9110-forbidden CTLs in status line.
tests/test_http_writer.py:1046
Functiontest_serialize_headers_raises_on_forbidden_control_chars_in_value
Verify serialize_headers rejects RFC 9110-forbidden CTLs in values.
tests/test_http_writer.py:1010
Functiontest_serialize_headers_raises_on_new_line_or_carriage_return
Verify serialize_headers raises on cr, nl, or null byte in the headers.
tests/test_http_writer.py:990
Functiontest_server
(aiohttp_server)
aiohttp/pytest_plugin.py:324
Functiontest_server
(report_dir: Path, request: pytest.FixtureRequest)
tests/autobahn/test_autobahn.py:151
Functiontest_server_close_handshake
(loop, aiohttp_client)
tests/test_web_websocket_functional.py:927
Functiontest_server_close_handshake_server_eats_client_messages
(loop, aiohttp_client)
tests/test_web_websocket_functional.py:983
Functiontest_server_close_keepalive_connection
()
tests/test_client_functional.py:4467
Functiontest_server_context_manager
(app, loop)
tests/test_test_utils.py:383
Functiontest_server_decode_text_default_true
Test that server decode_text defaults to True for backward compatibility.
tests/test_web_websocket_functional.py:1883
Functiontest_server_hostname_override_not_reused
A pooled TLS connection must not be reused for a different server_hostname.
tests/test_client_functional.py:728
Functiontest_server_make_url_yarl_compatibility
(loop)
tests/test_test_utils.py:313
Functiontest_server_receive_json_with_orjson_style_loads
Test server receive_json() with orjson-style loads that accepts bytes.
tests/test_web_websocket_functional.py:1975
Functiontest_server_receive_str_returns_bytes_with_decode_text_false
Test that server receive_str() returns bytes when decode_text=False.
tests/test_web_websocket_functional.py:1915
Functiontest_server_receive_str_returns_str_with_decode_text_true
Test that server receive_str() returns str when decode_text=True (default).
tests/test_web_websocket_functional.py:1947
Functiontest_server_ws_async_for
(loop: Any, aiohttp_server: Any)
tests/test_web_websocket_functional.py:1235
Functiontest_session_auth
( headers_echo_client: Callable[ ..., Awaitable[TestClient[web.Request, web.Application]] ], )
tests/test_client_functional.py:4285
Functiontest_session_auth_header_conflict
(aiohttp_client)
tests/test_client_functional.py:4312
Functiontest_session_auth_override
( headers_echo_client: Callable[ ..., Awaitable[TestClient[web.Request, web.Application]] ], )
tests/test_client_functional.py:4298
Functiontest_session_close_awaitable
()
tests/test_client_functional.py:4081
Functiontest_session_context_manager
(connector, loop)
tests/test_client_session.py:533
Functiontest_session_cookie_replacement_drops_old_expiry
()
tests/test_cookiejar.py:2230
Functiontest_session_default_version
(loop: asyncio.AbstractEventLoop)
tests/test_client_session.py:865
Functiontest_session_headers
( headers_echo_client: Callable[ ..., Awaitable[TestClient[web.Request, web.Application]] ], )
tests/test_client_functional.py:4390
Functiontest_session_headers_merge
( headers_echo_client: Callable[ ..., Awaitable[TestClient[web.Request, web.Application]] ], )
tests/test_client_functional.py:4403
Functiontest_session_loop
(loop)
tests/test_client_session.py:871
Functiontest_session_raise_for_status_coro
(aiohttp_client)
tests/test_client_functional.py:3649
Methodtest_set_content_disposition_after_append
(self)
tests/test_multipart.py:1630
Functiontest_set_content_disposition_bad_param
()
tests/test_helpers.py:677
Methodtest_set_content_disposition_override
( self, buf: bytearray, stream: AbstractStreamWriter )
tests/test_multipart.py:1716
Functiontest_set_content_length_if_compression_enabled
()
tests/test_web_response.py:686
Functiontest_set_content_length_to_None_on_non_set
()
tests/test_web_response.py:255
Functiontest_set_cookies
( aiohttp_client: AiohttpClient, caplog: pytest.LogCaptureFixture )
tests/test_client_functional.py:3164
Functiontest_set_cookies_expired
(aiohttp_client)
tests/test_client_functional.py:3216
Functiontest_set_cookies_max_age
(aiohttp_client)
tests/test_client_functional.py:3237
Functiontest_set_cookies_max_age_overflow
(aiohttp_client)
tests/test_client_functional.py:3258
Functiontest_set_cookies_with_curly_braces
Test that cookies with curly braces in names are now accepted (#2683).
tests/test_client_functional.py:3192
Functiontest_set_eof_after_write_headers
( protocol: BaseProtocol, transport: mock.Mock, loop: asyncio.AbstractEventLoop, )
tests/test_http_writer.py:914
Functiontest_set_eof_idempotent
Test that set_eof() is idempotent and can be called multiple times safely.
tests/test_http_writer.py:1514
Functiontest_set_eof_on_empty_response
Test that triggers set_eof() method.
tests/test_client_functional.py:5376
Functiontest_set_eof_sends_buffered_headers
( buf: bytearray, protocol: BaseProtocol, transport: asyncio.Transport, loop: asyncio.Abstract
tests/test_http_writer.py:159
Functiontest_set_exception
(protocol)
tests/test_streams.py:1456
Functiontest_set_exception
(loop)
tests/test_helpers.py:867
Functiontest_set_exception_cancelled
(protocol)
tests/test_streams.py:1471
Functiontest_set_exception_cancelled
(loop)
tests/test_helpers.py:874
Functiontest_set_exception_eof_callbacks
(protocol)
tests/test_streams.py:1489
Functiontest_set_exception_still_delivers_stashed_frames
( protocol: BaseProtocol, )
tests/test_websocket_parser.py:1393
Functiontest_set_loop
()
tests/test_web_app.py:38
Functiontest_set_loop_default_loop
()
tests/test_web_app.py:46
Functiontest_set_loop_with_different_loops
()
tests/test_web_app.py:64
Functiontest_set_options_route
(router)
tests/test_urldispatch.py:1309
Functiontest_set_parser_does_not_call_data_received_cb_for_tail
( loop: asyncio.AbstractEventLoop, dummy_manager: Server, dummy_reader: tuple[WebSocketReader, moc
tests/test_web_protocol.py:23
Functiontest_set_parser_resumes_reading_paused_for_tail
Handing a full tail to the upgraded protocol resumes reading.
tests/test_web_protocol.py:162
Functiontest_set_result
(loop)
tests/test_helpers.py:852
Functiontest_set_result_cancelled
(loop)
tests/test_helpers.py:858
Functiontest_set_status_reason_with_cr
()
tests/test_web_response.py:1099
Functiontest_set_status_reason_with_crlf
()
tests/test_web_response.py:1113
Functiontest_set_status_reason_with_lf
()
tests/test_web_response.py:1106
Functiontest_set_status_with_empty_reason
()
tests/test_web_response.py:1091
Functiontest_set_status_with_reason
()
tests/test_web_response.py:1083
Functiontest_set_text_with_charset
()
tests/test_web_response.py:1535
Functiontest_set_text_with_content_type
()
tests/test_web_response.py:1525
Functiontest_setting_charset
()
tests/test_web_response.py:271
Functiontest_setting_content_type
()
tests/test_web_response.py:264
Functiontest_setup_loop_non_main_thread
()
tests/test_loop.py:48
Functiontest_shared_cookie_cache_clearing_on_clear
Test that shared cookie cache is cleared when jar is cleared.
tests/test_cookiejar.py:2699
Functiontest_shared_cookie_cache_clearing_on_delete
Test that shared cookie cache is cleared when cookies are deleted.
tests/test_cookiejar.py:2670
Functiontest_shared_cookie_cache_clearing_on_update
Test that shared cookie cache is cleared when cookie is updated.
tests/test_cookiejar.py:2638
Functiontest_shared_cookie_cache_population
Test that shared cookies are cached correctly.
tests/test_cookiejar.py:2608
Functiontest_shared_cookie_with_multiple_domains
Test that shared cookies work across different domains.
tests/test_cookiejar.py:2736
Functiontest_shortcuts
(aiohttp_client)
tests/test_client_functional.py:2903
Functiontest_should_remove_content_length_is_subset_of_must_be_empty_body
Test should_remove_content_length is always a subset of must_be_empty_body.
tests/test_helpers.py:1074
Methodtest_shutdown_close_idle_keepalive
( self, unused_port_socket: socket.socket )
tests/test_run_app.py:1247
Methodtest_shutdown_close_websockets
(self, unused_port_socket: socket.socket)
tests/test_run_app.py:1287
Methodtest_shutdown_handler_cancellation_suppressed
( self, unused_port_socket: socket.socket )
tests/test_run_app.py:1346
Methodtest_shutdown_new_conn_rejected
( self, unused_port_socket: socket.socket )
tests/test_run_app.py:1152
Functiontest_shutdown_no_timeout
()
tests/test_web_request_handler.py:34
Methodtest_shutdown_pending_handler_responds
( self, unused_port_socket: socket.socket )
tests/test_run_app.py:1184
Functiontest_shutdown_timeout
()
tests/test_web_request_handler.py:50
Methodtest_shutdown_timeout_handler
(self, unused_port_socket: socket.socket)
tests/test_run_app.py:1114
← previousnext →5,101–5,200 of 5,960, ranked by callers