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
Method
test_shutdown_timeout_not_reached
( self, unused_port_socket: socket.socket )
tests/test_run_app.py:1131
Method
test_shutdown_wait_for_handler
(self, unused_port_socket: socket.socket)
tests/test_run_app.py:1095
Function
test_sigint
()
tests/test_run_app.py:699
Function
test_signal_on_error_handler
(aiohttp_client)
tests/test_web_functional.py:2976
Function
test_sigterm
()
tests/test_run_app.py:716
Function
test_simple_binary
( out: WebSocketDataQueue, parser: PatchableWebSocketReader )
tests/test_websocket_parser.py:353
Function
test_simple_get
(aiohttp_client)
tests/test_web_functional.py:73
Function
test_simple_get_with_text
(aiohttp_client)
tests/test_web_functional.py:91
Function
test_simple_server
(aiohttp_raw_server, aiohttp_client)
tests/test_web_server.py:15
Function
test_simple_subapp
(aiohttp_client)
tests/test_web_functional.py:1330
Function
test_simple_text
(out: WebSocketDataQueue, parser: PatchableWebSocketReader)
tests/test_websocket_parser.py:337
Function
test_simple_text_unicode_err
(parser: PatchableWebSocketReader)
tests/test_websocket_parser.py:344
Function
test_simple_web_file_response
Benchmark creating 100 simple web.FileResponse.
tests/test_benchmarks_web_fileresponse.py:20
Function
test_simple_web_file_response_not_modified
Benchmark web.FileResponse that return a 304.
tests/test_benchmarks_web_fileresponse.py:75
Function
test_simple_web_file_sendfile_fallback_response
Benchmark creating 100 simple web.FileResponse without sendfile.
tests/test_benchmarks_web_fileresponse.py:46
Function
test_simple_web_response
Benchmark creating 100 simple web.Response.
tests/test_benchmarks_web_response.py:18
Function
test_simple_web_stream_response
Benchmark creating 100 simple web.StreamResponse.
tests/test_benchmarks_web_response.py:98
Function
test_single_forwarded_header
()
tests/test_web_request.py:713
Function
test_single_forwarded_header_bad_separator
()
tests/test_web_request.py:802
Function
test_single_forwarded_header_camelcase
()
tests/test_web_request.py:753
Function
test_single_forwarded_header_custom_param
()
tests/test_web_request.py:785
Function
test_single_forwarded_header_empty_params
()
tests/test_web_request.py:794
Function
test_single_forwarded_header_injection1
()
tests/test_web_request.py:808
Function
test_single_forwarded_header_injection2
()
tests/test_web_request.py:820
Function
test_single_forwarded_header_long_quoted_string
()
tests/test_web_request.py:828
Function
test_single_forwarded_header_multiple_param
()
tests/test_web_request.py:768
Function
test_single_forwarded_header_quoted_escaped
()
tests/test_web_request.py:778
Function
test_single_forwarded_header_single_param
()
tests/test_web_request.py:762
Function
test_site_double_added
(make_runner: Any)
tests/test_web_runner.py:80
Function
test_site_for_nonfrozen_app
(make_runner: Any)
tests/test_web_runner.py:33
Function
test_site_stop_not_started
(make_runner: Any)
tests/test_web_runner.py:92
Function
test_skip_auto_headers_content_type
(aiohttp_client)
tests/test_client_functional.py:510
Function
test_skip_auto_headers_user_agent
(aiohttp_client)
tests/test_client_functional.py:484
Function
test_skip_default_auto_headers_user_agent
(aiohttp_client)
tests/test_client_functional.py:497
Function
test_skip_default_useragent_header
(make_request)
tests/test_client_request.py:368
Function
test_sock_read_timeout_not_rearmed_on_pooled_connection
( aiohttp_client: AiohttpClient, )
tests/test_client_functional.py:1289
Function
test_socket_timeout
(aiohttp_client: Any)
tests/test_client_functional.py:4727
Function
test_ssl_client
( aiohttp_server, ssl_ctx, aiohttp_client, client_ssl_ctx, )
tests/test_client_functional.py:706
Function
test_ssl_client_alpn
( aiohttp_server: AiohttpServer, aiohttp_client: AiohttpClient, ssl_ctx: ssl.SSLContext, )
tests/test_client_functional.py:826
Function
test_ssl_client_shutdown_timeout
( aiohttp_server: AiohttpServer, ssl_ctx: ssl.SSLContext, aiohttp_client: AiohttpClient, clien
tests/test_client_functional.py:762
Function
test_ssl_context_once
Test the ssl context is created only once and shared between connectors.
tests/test_connector.py:2758
Function
test_ssl_none
()
tests/test_connector.py:3905
Function
test_ssl_shutdown_timeout_passed_to_connector
()
tests/test_client_session.py:338
Function
test_ssl_shutdown_timeout_passed_to_connector_pre_311
Test that both deprecation and runtime warnings are issued on Python < 3.11.
tests/test_client_session.py:382
Function
test_stalled_parser_outlives_connection_lost
Frames the parser stopped short of are delivered after the peer vanishes. Once the queue is over its high-water mark the parser stops mid-read an
tests/test_web_websocket_functional.py:2069
Function
test_stalled_parser_outlives_connection_lost
Frames the parser stopped short of are delivered after the peer vanishes. Once the queue is over its high-water mark the parser stops mid-read an
tests/test_client_ws_functional.py:1798
Function
test_stalled_reader_reference_released_after_drain
( protocol: BaseProtocol, )
tests/test_websocket_parser.py:1372
Function
test_start
()
tests/test_web_response.py:463
Function
test_start_force_close
()
tests/test_web_response.py:1120
Function
test_start_tls_connection_returns_none
A transport closed before the upgrade makes start_tls() return None.
tests/test_connector.py:2583
Function
test_start_tls_exception_with_ssl_shutdown_timeout_nonzero
Test _start_tls_connection exception handling with ssl_shutdown_timeout>0.
tests/test_connector.py:2516
Function
test_start_tls_exception_with_ssl_shutdown_timeout_nonzero_pre_311
Test _start_tls_connection exception handling with ssl_shutdown_timeout>0 on Python < 3.11.
tests/test_connector.py:2550
Function
test_start_tls_exception_with_ssl_shutdown_timeout_zero
Test _start_tls_connection exception handling with ssl_shutdown_timeout=0.
tests/test_connector.py:2482
Function
test_start_tls_with_zero_total_timeout
Test that ClientTimeout(total=0) works with TLS connections. Regression test for https://github.com/aio-libs/aiohttp/issues/11859 When total=
tests/test_connector.py:2605
Function
test_start_without_routes
(aiohttp_client)
tests/test_web_functional.py:1276
Function
test_startup_cleanup_signals_even_on_failure
(patched_loop)
tests/test_run_app.py:730
Function
test_stashed_frames_survive_connection_loss
Frames stashed by receive-queue backpressure outlive the connection. A peer can pack far more complete frames into one read than the queue's
tests/test_web_websocket_functional.py:87
Function
test_stashed_frames_survive_connection_loss
Frames stashed by receive-queue backpressure outlive the connection. Mirror of the server-side test: a peer can pack more complete frames into
tests/test_client_ws_functional.py:88
Function
test_static
(router)
tests/test_route_def.py:122
Function
test_static_absolute_url
( aiohttp_client: AiohttpClient, tmp_path: pathlib.Path )
tests/test_web_urldispatcher.py:850
Function
test_static_adds_slash
(router)
tests/test_urldispatch.py:576
Function
test_static_directory_with_mock_permission_error
Test static directory with mock permission errors receives forbidden response.
tests/test_web_urldispatcher.py:440
Function
test_static_directory_without_read_permission
Test static directory without read permission receives forbidden response.
tests/test_web_urldispatcher.py:423
Function
test_static_file_compression
(aiohttp_client, sender)
tests/test_web_sendfile_functional.py:1070
Function
test_static_file_custom_content_type
Test that custom type without encoding is returned for encoded request.
tests/test_web_sendfile_functional.py:252
Function
test_static_file_custom_content_type_compress
Test that custom type with encoding is returned for unencoded requests.
tests/test_web_sendfile_functional.py:280
Function
test_static_file_directory_traversal_attack
(aiohttp_client)
tests/test_web_sendfile_functional.py:633
Function
test_static_file_huge
( aiohttp_client: AiohttpClient, tmp_path: pathlib.Path )
tests/test_web_sendfile_functional.py:661
Function
test_static_file_huge_cancel
( aiohttp_client: AiohttpClient, tmp_path: pathlib.Path )
tests/test_web_sendfile_functional.py:1095
Function
test_static_file_huge_error
(aiohttp_client, tmp_path)
tests/test_web_sendfile_functional.py:1138
Function
test_static_file_if_match
( aiohttp_client: Any, app_with_static_route: web.Application, if_unmodified_since: str, )
tests/test_web_sendfile_functional.py:456
Function
test_static_file_if_match_custom_tags
( aiohttp_client: Any, app_with_static_route: web.Application, if_unmodified_since: str, etags
tests/test_web_sendfile_functional.py:492
Function
test_static_file_if_modified_since
( aiohttp_client: Any, app_with_static_route: web.Application, )
tests/test_web_sendfile_functional.py:379
Function
test_static_file_if_modified_since_future_date
( aiohttp_client: Any, app_with_static_route: web.Application, )
tests/test_web_sendfile_functional.py:435
Function
test_static_file_if_modified_since_invalid_date
( aiohttp_client: Any, app_with_static_route: web.Application, )
tests/test_web_sendfile_functional.py:419
Function
test_static_file_if_modified_since_past_date
( aiohttp_client: Any, app_with_static_route: web.Application, )
tests/test_web_sendfile_functional.py:403
Function
test_static_file_if_none_match
( aiohttp_client: Any, app_with_static_route: web.Application, if_modified_since: str, additio
tests/test_web_sendfile_functional.py:521
Function
test_static_file_if_none_match_star
( aiohttp_client: Any, app_with_static_route: web.Application, )
tests/test_web_sendfile_functional.py:553
Function
test_static_file_if_none_match_weak
( aiohttp_client: Any, app_with_static_route: web.Application, if_modified_since: str, )
tests/test_web_sendfile_functional.py:573
Function
test_static_file_if_range_future_with_range
( aiohttp_client: Any, app_with_static_route: web.Application, )
tests/test_web_sendfile_functional.py:952
Function
test_static_file_if_range_future_without_range
( aiohttp_client: Any, app_with_static_route: web.Application, )
tests/test_web_sendfile_functional.py:1020
Function
test_static_file_if_range_invalid_date
( aiohttp_client: Any, app_with_static_route: web.Application, )
tests/test_web_sendfile_functional.py:1053
Function
test_static_file_if_range_past_with_range
( aiohttp_client: Any, app_with_static_route: web.Application, )
tests/test_web_sendfile_functional.py:936
Function
test_static_file_if_range_past_without_range
( aiohttp_client: Any, app_with_static_route: web.Application, )
tests/test_web_sendfile_functional.py:1003
Function
test_static_file_if_unmodified_since_future_with_range
( aiohttp_client: Any, app_with_static_route: web.Application, )
tests/test_web_sendfile_functional.py:916
Function
test_static_file_if_unmodified_since_future_without_range
( aiohttp_client: Any, app_with_static_route: web.Application, )
tests/test_web_sendfile_functional.py:986
Function
test_static_file_if_unmodified_since_invalid_date
( aiohttp_client: Any, app_with_static_route: web.Application, )
tests/test_web_sendfile_functional.py:1037
Function
test_static_file_if_unmodified_since_past_with_range
( aiohttp_client: Any, app_with_static_route: web.Application, )
tests/test_web_sendfile_functional.py:898
Function
test_static_file_if_unmodified_since_past_without_range
( aiohttp_client: Any, app_with_static_route: web.Application, )
tests/test_web_sendfile_functional.py:970
Function
test_static_file_invalid_range
(aiohttp_client, sender)
tests/test_web_sendfile_functional.py:849
Function
test_static_file_name_too_long
(aiohttp_client)
tests/test_web_sendfile_functional.py:206
Function
test_static_file_not_exists
(aiohttp_client)
tests/test_web_sendfile_functional.py:195
Function
test_static_file_ok
( aiohttp_client: Any, app_with_static_route: web.Application, )
tests/test_web_sendfile_functional.py:109
Function
test_static_file_ok_string_path
( aiohttp_client: Any, app_with_static_route: web.Application, )
tests/test_web_sendfile_functional.py:179
Function
test_static_file_range
(aiohttp_client: Any, sender: Any)
tests/test_web_sendfile_functional.py:699
Function
test_static_file_range_beyond_eof
(aiohttp_client, sender)
tests/test_web_sendfile_functional.py:793
Function
test_static_file_range_end_bigger_than_size
(aiohttp_client, sender)
tests/test_web_sendfile_functional.py:759
Function
test_static_file_range_tail
(aiohttp_client, sender)
tests/test_web_sendfile_functional.py:814
Function
test_static_file_ssl
( aiohttp_server, ssl_ctx, aiohttp_client, client_ssl_ctx, )
tests/test_web_sendfile_functional.py:606
Function
test_static_file_upper_directory
(aiohttp_client)
tests/test_web_sendfile_functional.py:217
← previous
next →
5,201–5,300 of 5,960, ranked by callers