Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aio-libs/aiohttp
/ functions
Functions
5,960 in github.com/aio-libs/aiohttp
⨍
Functions
5,960
◇
Types & classes
464
↳
Endpoints
71
Function
test_handler_returns_not_response_after_100expect
( aiohttp_server, aiohttp_client )
tests/test_web_functional.py:143
Function
test_handler_slower_than_first_request_deadline
A parsed request being handled is not subject to the idle deadline.
tests/test_web_server.py:565
Function
test_handshake_compress
()
tests/test_websocket_handshake.py:182
Function
test_handshake_compress_bad_ext
()
tests/test_websocket_handshake.py:250
Function
test_handshake_compress_client_notakeover
()
tests/test_websocket_handshake.py:209
Function
test_handshake_compress_multi_ext_bad
()
tests/test_websocket_handshake.py:262
Function
test_handshake_compress_multi_ext_wbits
()
tests/test_websocket_handshake.py:276
Function
test_handshake_compress_server_notakeover
()
tests/test_websocket_handshake.py:193
Function
test_handshake_compress_wbits
()
tests/test_websocket_handshake.py:223
Function
test_handshake_compress_wbits_error
()
tests/test_websocket_handshake.py:238
Function
test_handshake_connection_header_substring_not_a_token
( aiohttp_client: AiohttpClient, )
tests/test_web_websocket_functional.py:383
Function
test_handshake_no_transfer_encoding
()
tests/test_websocket_handshake.py:289
Function
test_handshake_ok
()
tests/test_websocket_handshake.py:131
Function
test_handshake_protocol
()
tests/test_websocket_handshake.py:141
Function
test_handshake_protocol_agreement
()
tests/test_websocket_handshake.py:153
Function
test_handshake_protocol_unsupported
(caplog)
tests/test_websocket_handshake.py:167
Function
test_has_no_authority
(location: str, expected: bool)
tests/test_client_session.py:1494
Function
test_head
(router)
tests/test_route_def.py:32
Function
test_head_deco
(router)
tests/test_route_def.py:145
Function
test_head_request_with_chunked_encoding
Test a head response with chunked set should have it removed.
tests/test_client_functional.py:2796
Function
test_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
Function
test_head_response_omits_content_length_when_body_unset
Verify HEAD response omits content-length body when its unset.
tests/test_web_response.py:866
Function
test_head_returns_empty_body
(aiohttp_client)
tests/test_web_functional.py:157
Function
test_headers
(make_request)
tests/test_client_request.py:376
Function
test_headers_connect
(parser: Any)
tests/test_http_parser.py:1152
Function
test_headers_content_length_err_1
(parser)
tests/test_http_parser.py:1254
Function
test_headers_content_length_err_2
(parser)
tests/test_http_parser.py:1261
Function
test_headers_default
(make_request)
tests/test_client_request.py:394
Function
test_headers_list
(make_request)
tests/test_client_request.py:386
Function
test_headers_multi_feed
(parser)
tests/test_http_parser.py:796
Function
test_headers_old_websocket_key1
(parser: HttpRequestParser)
tests/test_http_parser.py:1247
Function
test_headers_split_field
(parser)
tests/test_http_parser.py:822
Function
test_heartbeat
(loop, aiohttp_client)
tests/test_web_websocket_functional.py:1064
Function
test_heartbeat
(aiohttp_client)
tests/test_client_ws_functional.py:923
Function
test_heartbeat_connection_closed
Test that the connection is closed while ping is in progress.
tests/test_web_websocket_functional.py:1102
Function
test_heartbeat_connection_closed
Test that the connection is closed while ping is in progress.
tests/test_client_ws_functional.py:948
Function
test_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
Function
test_heartbeat_failure_ends_receive
Test that no heartbeat response to the server ends the receive call.
tests/test_web_websocket_functional.py:1144
Function
test_heartbeat_no_pong
(loop, aiohttp_client)
tests/test_web_websocket_functional.py:1084
Function
test_heartbeat_no_pong
Test that the connection is closed if no pong is received without sending messages.
tests/test_client_ws_functional.py:983
Function
test_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
Function
test_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
Function
test_heartbeat_no_pong_concurrent_receive
( aiohttp_client: AiohttpClient, )
tests/test_client_ws_functional.py:1140
Function
test_heartbeat_no_pong_receive_many_messages
Test no pong after receiving many messages.
tests/test_web_websocket_functional.py:1207
Function
test_heartbeat_no_pong_send_many_messages
Test no pong after sending many messages.
tests/test_web_websocket_functional.py:1178
Function
test_heartbeat_reset_coalesces_on_data
( loop: asyncio.AbstractEventLoop, )
tests/test_client_ws.py:623
Function
test_heartbeat_reset_coalesces_on_data
( make_request: Any, )
tests/test_web_websocket.py:258
Function
test_heartbeat_timeout
Verify the transport is closed when the heartbeat timeout is reached.
tests/test_web_websocket.py:244
Function
test_history
(aiohttp_client: AiohttpClient)
tests/test_client_functional.py:1042
Function
test_host_addresses
()
tests/test_helpers.py:326
Function
test_host_by_host_header
()
tests/test_web_request.py:874
Function
test_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
Function
test_host_header_explicit_host
(make_request)
tests/test_client_request.py:278
Function
test_host_header_explicit_host_with_port
(make_request)
tests/test_client_request.py:283
Function
test_host_header_first
(aiohttp_client)
tests/test_client_functional.py:1120
Function
test_host_header_fqdn
( make_request: Any, url: str, headers: dict[str, str], expected: str )
tests/test_client_request.py:345
Function
test_host_header_host_first
(make_request)
tests/test_client_request.py:248
Function
test_host_header_host_idna_encode
(make_request)
tests/test_client_request.py:268
Function
test_host_header_host_unicode
(make_request)
tests/test_client_request.py:273
Function
test_host_header_host_with_default_port
(make_request)
tests/test_client_request.py:258
Function
test_host_header_host_with_nondefault_port
(make_request)
tests/test_client_request.py:263
Function
test_host_header_host_without_port
(make_request)
tests/test_client_request.py:253
Function
test_host_header_ipv4
(make_request)
tests/test_client_request.py:288
Function
test_host_header_ipv4_with_port
(make_request)
tests/test_client_request.py:298
Function
test_host_header_ipv6
(make_request)
tests/test_client_request.py:293
Function
test_host_header_ipv6_with_port
(make_request)
tests/test_client_request.py:303
Function
test_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
Function
test_host_port_default_http
(make_request)
tests/test_client_request.py:177
Function
test_host_port_default_https
(make_request)
tests/test_client_request.py:184
Function
test_host_port_default_ws
(make_request)
tests/test_client_request.py:205
Function
test_host_port_default_wss
(make_request)
tests/test_client_request.py:212
Function
test_host_port_err
(make_request)
tests/test_client_request.py:238
Function
test_host_port_nondefault_http
(make_request)
tests/test_client_request.py:191
Function
test_host_port_nondefault_https
(make_request)
tests/test_client_request.py:198
Function
test_host_port_nondefault_ws
(make_request)
tests/test_client_request.py:219
Function
test_host_port_nondefault_wss
(make_request)
tests/test_client_request.py:226
Function
test_host_port_none_port
(make_request)
tests/test_client_request.py:233
Function
test_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
Function
test_host_with_no_transport_sockname
An empty string is returned when no sockname is available.
tests/test_web_request.py:175
Function
test_host_with_unix_socket_sockname
Unix-socket transports expose sockname as a str path.
tests/test_web_request.py:165
Function
test_hostname_err
(make_request)
tests/test_client_request.py:243
Function
test_http10_keep_alive_default
(aiohttp_client: AiohttpClient)
tests/test_web_functional.py:736
Function
test_http10_keep_alive_with_headers
(aiohttp_client)
tests/test_web_functional.py:770
Function
test_http10_keep_alive_with_headers_close
(aiohttp_client)
tests/test_web_functional.py:752
Function
test_http11_keep_alive_default
(aiohttp_client)
tests/test_web_functional.py:720
Function
test_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
Function
test_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
Function
test_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
Function
test_http_DELETE
(session, params)
tests/test_client_session.py:285
Function
test_http_GET
(session, params)
tests/test_client_session.py:189
Function
test_http_HEAD
(session, params)
tests/test_client_session.py:219
Function
test_http_OPTIONS
(session, params)
tests/test_client_session.py:204
Function
test_http_PATCH
(session, params)
tests/test_client_session.py:268
Function
test_http_POST
(session, params)
tests/test_client_session.py:234
Function
test_http_PUT
(session, params)
tests/test_client_session.py:251
Function
test_http_empty_data_text
(aiohttp_client)
tests/test_client_functional.py:4844
Function
test_http_exception_is_none_when_resolved
(router)
tests/test_urldispatch.py:934
Function
test_http_exception_is_not_none_when_not_resolved
(router)
tests/test_urldispatch.py:942
Method
test_http_payload_brotli
(self, protocol: BaseProtocol)
tests/test_http_parser.py:3297
Method
test_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
← previous
next →
3,601–3,700 of 5,960, ranked by callers