MCPcopy Create free account

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

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

Functiontest_handler_returns_not_response_after_100expect
( aiohttp_server, aiohttp_client )
tests/test_web_functional.py:143
Functiontest_handler_slower_than_first_request_deadline
A parsed request being handled is not subject to the idle deadline.
tests/test_web_server.py:565
Functiontest_handshake_compress
()
tests/test_websocket_handshake.py:182
Functiontest_handshake_compress_bad_ext
()
tests/test_websocket_handshake.py:250
Functiontest_handshake_compress_client_notakeover
()
tests/test_websocket_handshake.py:209
Functiontest_handshake_compress_multi_ext_bad
()
tests/test_websocket_handshake.py:262
Functiontest_handshake_compress_multi_ext_wbits
()
tests/test_websocket_handshake.py:276
Functiontest_handshake_compress_server_notakeover
()
tests/test_websocket_handshake.py:193
Functiontest_handshake_compress_wbits
()
tests/test_websocket_handshake.py:223
Functiontest_handshake_compress_wbits_error
()
tests/test_websocket_handshake.py:238
Functiontest_handshake_connection_header_substring_not_a_token
( aiohttp_client: AiohttpClient, )
tests/test_web_websocket_functional.py:383
Functiontest_handshake_no_transfer_encoding
()
tests/test_websocket_handshake.py:289
Functiontest_handshake_ok
()
tests/test_websocket_handshake.py:131
Functiontest_handshake_protocol
()
tests/test_websocket_handshake.py:141
Functiontest_handshake_protocol_agreement
()
tests/test_websocket_handshake.py:153
Functiontest_handshake_protocol_unsupported
(caplog)
tests/test_websocket_handshake.py:167
Functiontest_has_no_authority
(location: str, expected: bool)
tests/test_client_session.py:1494
Functiontest_head
(router)
tests/test_route_def.py:32
Functiontest_head_deco
(router)
tests/test_route_def.py:145
Functiontest_head_request_with_chunked_encoding
Test a head response with chunked set should have it removed.
tests/test_client_functional.py:2796
Functiontest_head_response_keeps_content_length_of_original_body
Verify HEAD response keeps the content length of the original body HTTP/1.1.
tests/test_web_response.py:854
Functiontest_head_response_omits_content_length_when_body_unset
Verify HEAD response omits content-length body when its unset.
tests/test_web_response.py:866
Functiontest_head_returns_empty_body
(aiohttp_client)
tests/test_web_functional.py:157
Functiontest_headers
(make_request)
tests/test_client_request.py:376
Functiontest_headers_connect
(parser: Any)
tests/test_http_parser.py:1152
Functiontest_headers_content_length_err_1
(parser)
tests/test_http_parser.py:1254
Functiontest_headers_content_length_err_2
(parser)
tests/test_http_parser.py:1261
Functiontest_headers_default
(make_request)
tests/test_client_request.py:394
Functiontest_headers_list
(make_request)
tests/test_client_request.py:386
Functiontest_headers_multi_feed
(parser)
tests/test_http_parser.py:796
Functiontest_headers_old_websocket_key1
(parser: HttpRequestParser)
tests/test_http_parser.py:1247
Functiontest_headers_split_field
(parser)
tests/test_http_parser.py:822
Functiontest_heartbeat
(loop, aiohttp_client)
tests/test_web_websocket_functional.py:1064
Functiontest_heartbeat
(aiohttp_client)
tests/test_client_ws_functional.py:923
Functiontest_heartbeat_connection_closed
Test that the connection is closed while ping is in progress.
tests/test_web_websocket_functional.py:1102
Functiontest_heartbeat_connection_closed
Test that the connection is closed while ping is in progress.
tests/test_client_ws_functional.py:948
Functiontest_heartbeat_does_not_timeout_while_receiving_large_frame
Slowly receiving a single large frame should not trip heartbeat. Regression test for the behavior described in https://github.com/aio-libs/ai
tests/test_client_ws_functional.py:1009
Functiontest_heartbeat_failure_ends_receive
Test that no heartbeat response to the server ends the receive call.
tests/test_web_websocket_functional.py:1144
Functiontest_heartbeat_no_pong
(loop, aiohttp_client)
tests/test_web_websocket_functional.py:1084
Functiontest_heartbeat_no_pong
Test that the connection is closed if no pong is received without sending messages.
tests/test_client_ws_functional.py:983
Functiontest_heartbeat_no_pong_after_receive_many_messages
Test that the connection is closed if no pong is received after receiving many messages.
tests/test_client_ws_functional.py:1068
Functiontest_heartbeat_no_pong_after_send_many_messages
Test that the connection is closed if no pong is received after sending many messages.
tests/test_client_ws_functional.py:1104
Functiontest_heartbeat_no_pong_concurrent_receive
( aiohttp_client: AiohttpClient, )
tests/test_client_ws_functional.py:1140
Functiontest_heartbeat_no_pong_receive_many_messages
Test no pong after receiving many messages.
tests/test_web_websocket_functional.py:1207
Functiontest_heartbeat_no_pong_send_many_messages
Test no pong after sending many messages.
tests/test_web_websocket_functional.py:1178
Functiontest_heartbeat_reset_coalesces_on_data
( loop: asyncio.AbstractEventLoop, )
tests/test_client_ws.py:623
Functiontest_heartbeat_reset_coalesces_on_data
( make_request: Any, )
tests/test_web_websocket.py:258
Functiontest_heartbeat_timeout
Verify the transport is closed when the heartbeat timeout is reached.
tests/test_web_websocket.py:244
Functiontest_history
(aiohttp_client: AiohttpClient)
tests/test_client_functional.py:1042
Functiontest_host_addresses
()
tests/test_helpers.py:326
Functiontest_host_by_host_header
()
tests/test_web_request.py:874
Functiontest_host_falls_back_to_sockname_not_dns
Regression: request.host must not call socket.getfqdn(). socket.getfqdn() does blocking reverse DNS resolution on the event loop thread and c
tests/test_web_request.py:136
Functiontest_host_header_explicit_host
(make_request)
tests/test_client_request.py:278
Functiontest_host_header_explicit_host_with_port
(make_request)
tests/test_client_request.py:283
Functiontest_host_header_first
(aiohttp_client)
tests/test_client_functional.py:1120
Functiontest_host_header_fqdn
( make_request: Any, url: str, headers: dict[str, str], expected: str )
tests/test_client_request.py:345
Functiontest_host_header_host_first
(make_request)
tests/test_client_request.py:248
Functiontest_host_header_host_idna_encode
(make_request)
tests/test_client_request.py:268
Functiontest_host_header_host_unicode
(make_request)
tests/test_client_request.py:273
Functiontest_host_header_host_with_default_port
(make_request)
tests/test_client_request.py:258
Functiontest_host_header_host_with_nondefault_port
(make_request)
tests/test_client_request.py:263
Functiontest_host_header_host_without_port
(make_request)
tests/test_client_request.py:253
Functiontest_host_header_ipv4
(make_request)
tests/test_client_request.py:288
Functiontest_host_header_ipv4_with_port
(make_request)
tests/test_client_request.py:298
Functiontest_host_header_ipv6
(make_request)
tests/test_client_request.py:293
Functiontest_host_header_ipv6_with_port
(make_request)
tests/test_client_request.py:303
Functiontest_host_only_marker_survives_same_name_expiry_on_other_path
Expiring a same-name cookie on another path must not clear host-only state.
tests/test_cookiejar.py:940
Functiontest_host_port_default_http
(make_request)
tests/test_client_request.py:177
Functiontest_host_port_default_https
(make_request)
tests/test_client_request.py:184
Functiontest_host_port_default_ws
(make_request)
tests/test_client_request.py:205
Functiontest_host_port_default_wss
(make_request)
tests/test_client_request.py:212
Functiontest_host_port_err
(make_request)
tests/test_client_request.py:238
Functiontest_host_port_nondefault_http
(make_request)
tests/test_client_request.py:191
Functiontest_host_port_nondefault_https
(make_request)
tests/test_client_request.py:198
Functiontest_host_port_nondefault_ws
(make_request)
tests/test_client_request.py:219
Functiontest_host_port_nondefault_wss
(make_request)
tests/test_client_request.py:226
Functiontest_host_port_none_port
(make_request)
tests/test_client_request.py:233
Functiontest_host_with_ipv6_sockname
AF_INET6 sockname is bracketed to form a valid URL authority. A bare IPv6 string would cause ``URL.build(authority=...)`` to raise ``ValueErr
tests/test_web_request.py:150
Functiontest_host_with_no_transport_sockname
An empty string is returned when no sockname is available.
tests/test_web_request.py:175
Functiontest_host_with_unix_socket_sockname
Unix-socket transports expose sockname as a str path.
tests/test_web_request.py:165
Functiontest_hostname_err
(make_request)
tests/test_client_request.py:243
Functiontest_http10_keep_alive_default
(aiohttp_client: AiohttpClient)
tests/test_web_functional.py:736
Functiontest_http10_keep_alive_with_headers
(aiohttp_client)
tests/test_web_functional.py:770
Functiontest_http10_keep_alive_with_headers_close
(aiohttp_client)
tests/test_web_functional.py:752
Functiontest_http11_keep_alive_default
(aiohttp_client)
tests/test_web_functional.py:720
Functiontest_http1_pipelined_behind_declined_upgrade_served_once
Requests pipelined behind a declined upgrade are each served once. The bytes following an upgrade request are buffered whole, then re-fed once
tests/test_web_functional.py:1855
Functiontest_http1_pipelined_queue_resumes_after_drain
A paused pipeline queue resumes reading once handlers drain it. Once enough requests are pipelined behind a busy handler to fill the queue, r
tests/test_web_functional.py:1788
Functiontest_http1_pipelined_requests_are_count_limited
Requests pipelined behind a busy handler must not grow unbounded. A client can keep one handler active and pipeline many complete requests be
tests/test_web_functional.py:1725
Functiontest_http_DELETE
(session, params)
tests/test_client_session.py:285
Functiontest_http_GET
(session, params)
tests/test_client_session.py:189
Functiontest_http_HEAD
(session, params)
tests/test_client_session.py:219
Functiontest_http_OPTIONS
(session, params)
tests/test_client_session.py:204
Functiontest_http_PATCH
(session, params)
tests/test_client_session.py:268
Functiontest_http_POST
(session, params)
tests/test_client_session.py:234
Functiontest_http_PUT
(session, params)
tests/test_client_session.py:251
Functiontest_http_empty_data_text
(aiohttp_client)
tests/test_client_functional.py:4844
Functiontest_http_exception_is_none_when_resolved
(router)
tests/test_urldispatch.py:934
Functiontest_http_exception_is_not_none_when_not_resolved
(router)
tests/test_urldispatch.py:942
Methodtest_http_payload_brotli
(self, protocol: BaseProtocol)
tests/test_http_parser.py:3297
Methodtest_http_payload_gzip_empty_member_flood
A body of many empty members is rejected, not decoded. Empty members decode to nothing, so must fail from the member limit.
tests/test_http_parser.py:3484
← previousnext →3,601–3,700 of 5,960, ranked by callers