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_static_file_with_content_encoding
Test requesting static compressed files returns the correct content type and encoding.
tests/test_web_sendfile_functional.py:356
Function
test_static_file_with_content_type
(aiohttp_client, sender)
tests/test_web_sendfile_functional.py:228
Function
test_static_file_with_encoding_and_enable_compression
Test that enable_compression does not double compress when an encoded file is also present.
tests/test_web_sendfile_functional.py:316
Function
test_static_file_with_mock_permission_error
Test static file with mock permission errors receives forbidden response.
tests/test_web_urldispatcher.py:495
Function
test_static_file_without_read_permission
Test static file without read permission receives forbidden response.
tests/test_web_urldispatcher.py:479
Function
test_static_head
( tmp_path: pathlib.Path, aiohttp_client: AiohttpClient )
tests/test_web_urldispatcher.py:644
Function
test_static_not_match
(router)
tests/test_urldispatch.py:499
Function
test_static_remove_trailing_slash
(router)
tests/test_urldispatch.py:581
Function
test_static_repr
(router)
tests/test_urldispatch.py:571
Function
test_static_resource_canonical
()
tests/test_urldispatch.py:1378
Function
test_static_resource_get_info
(router)
tests/test_urldispatch.py:982
Function
test_static_resource_outside_traversal
Test relative path traversing outside root does not resolve.
tests/test_urldispatch.py:1056
Function
test_static_route_points_to_file
(router)
tests/test_urldispatch.py:1037
Function
test_static_route_user_home
(router)
tests/test_urldispatch.py:1027
Method
test_status
(self)
tests/test_client_exceptions.py:26
Function
test_status_controlled_by_user
(loop)
tests/test_web_sendfile.py:114
Method
test_str
(self)
tests/test_http_exceptions.py:30
Method
test_str
(self)
tests/test_http_exceptions.py:61
Method
test_str
(self)
tests/test_http_exceptions.py:88
Method
test_str
(self)
tests/test_http_exceptions.py:119
Method
test_str
(self)
tests/test_client_exceptions.py:78
Method
test_str
(self)
tests/test_client_exceptions.py:169
Method
test_str
(self)
tests/test_client_exceptions.py:225
Method
test_str
(self)
tests/test_client_exceptions.py:269
Function
test_str_key_warnings
()
tests/test_web_response.py:213
Function
test_str_key_warnings
()
tests/test_web_request.py:676
Method
test_str_no_description
(self)
tests/test_client_exceptions.py:337
Function
test_str_params
(aiohttp_client)
tests/test_client_functional.py:917
Method
test_str_with_description
(self)
tests/test_client_exceptions.py:345
Function
test_stream_reader_chunks_complete
()
tests/test_streams.py:1508
Function
test_stream_reader_chunks_incomplete
()
tests/test_streams.py:1517
Function
test_stream_reader_eof_when_full
()
tests/test_flowcontrol_streams.py:193
Function
test_stream_reader_iter
()
tests/test_streams.py:1558
Function
test_stream_reader_iter_any
()
tests/test_streams.py:1551
Function
test_stream_reader_iter_chunks_chunked_encoding
(protocol)
tests/test_streams.py:1572
Function
test_stream_reader_iter_chunks_no_chunked_encoding
()
tests/test_streams.py:1565
Function
test_stream_reader_lines
()
tests/test_streams.py:1501
Function
test_stream_reader_no_resume_when_chunks_still_high
Test that reading doesn't resume if chunk count is still above low water.
tests/test_streams.py:1643
Function
test_stream_reader_pause_on_high_water_chunks
Test that reading is paused when chunk count exceeds high water mark.
tests/test_streams.py:1591
Function
test_stream_reader_read_non_chunked_response
Test that non-chunked responses work correctly (no chunk tracking).
tests/test_streams.py:1668
Function
test_stream_reader_resume_non_chunked_when_paused
Test that resume works for non-chunked responses when paused due to size.
tests/test_streams.py:1689
Function
test_stream_reader_resume_on_low_water_chunks
Test that reading resumes when chunk count drops below low water mark.
tests/test_streams.py:1612
Function
test_stream_reader_small_limit_resumes_reading
Test that small limits still allow resume_reading to be called. Even with very small limits, high_water_chunks should be at least 4 and low_w
tests/test_streams.py:1713
Function
test_stream_reader_total_raw_bytes
Test whether StreamReader.total_raw_bytes returns the number of bytes downloaded
tests/test_client_functional.py:6358
Function
test_stream_request_on_server_eof
(aiohttp_client)
tests/test_client_functional.py:393
Function
test_stream_request_on_server_eof_nested
(aiohttp_client)
tests/test_client_functional.py:423
Function
test_stream_response_ctor
()
tests/test_web_response.py:89
Function
test_stream_response_delitem
()
tests/test_web_response.py:124
Function
test_stream_response_eq
()
tests/test_web_response.py:106
Function
test_stream_response_hashable
()
tests/test_web_response.py:101
Function
test_stream_response_headers_204
(aiohttp_client)
tests/test_web_functional.py:3065
Function
test_stream_response_is_mutable_mapping
()
tests/test_web_response.py:115
Function
test_stream_response_len
()
tests/test_web_response.py:132
Function
test_stream_response_multiple_chunks
(aiohttp_client)
tests/test_web_functional.py:1254
Function
test_stream_response_sends_headers_immediately
Test that StreamResponse sends headers immediately.
tests/test_web_response.py:1763
Method
test_streaming_decompress_large_payload
Test that large payloads decompress correctly when streamed in chunks. This simulates real HTTP streaming where compressed data arrives in
tests/test_http_parser.py:3611
Function
test_string_io_payload
()
tests/test_payload.py:154
Function
test_string_io_payload_redirect
Test that StringIOPayload can be reused across redirects.
tests/test_client_functional.py:5566
Function
test_string_io_payload_reusability
Test that StringIOPayload can be written and read multiple times.
tests/test_payload.py:857
Function
test_string_io_payload_size
Test StringIOPayload.size property.
tests/test_payload.py:1161
Function
test_string_payload
()
tests/test_payload.py:140
Function
test_string_payload_redirect
Test that StringPayload can be reused across redirects.
tests/test_client_functional.py:5426
Function
test_string_payload_reusability
Test that StringPayload can be written and read multiple times.
tests/test_payload.py:801
Function
test_string_payload_size
Test StringPayload.size property with different encodings.
tests/test_payload.py:1141
Function
test_subapp_app
(aiohttp_client)
tests/test_web_functional.py:1423
Function
test_subapp_cannot_add_app_in_handler
(aiohttp_client)
tests/test_web_functional.py:1491
Function
test_subapp_chained_config_dict_overriding
(aiohttp_client)
tests/test_web_app.py:675
Function
test_subapp_chained_config_dict_visibility
( aiohttp_client: AiohttpClient, )
tests/test_web_app.py:642
Function
test_subapp_domain_routing_same_path
Regression test for #11665.
tests/test_web_urldispatcher.py:1010
Function
test_subapp_get_info
(app)
tests/test_urldispatch.py:1096
Function
test_subapp_iter
(app)
tests/test_urldispatch.py:1269
Function
test_subapp_len
(app)
tests/test_urldispatch.py:1261
Function
test_subapp_middleware_context
(aiohttp_client, route, expected, middlewares)
tests/test_web_functional.py:1652
Function
test_subapp_middlewares
(aiohttp_client)
tests/test_web_functional.py:1508
Function
test_subapp_not_allowed
(aiohttp_client)
tests/test_web_functional.py:1474
Function
test_subapp_not_found
(aiohttp_client)
tests/test_web_functional.py:1442
Function
test_subapp_not_found2
(aiohttp_client)
tests/test_web_functional.py:1458
Function
test_subapp_on_cleanup
(aiohttp_server)
tests/test_web_functional.py:1618
Function
test_subapp_on_response_prepare
(aiohttp_client)
tests/test_web_functional.py:1547
Function
test_subapp_on_shutdown
(aiohttp_server)
tests/test_web_functional.py:1597
Function
test_subapp_on_startup
(aiohttp_client)
tests/test_web_app.py:703
Function
test_subapp_on_startup
(aiohttp_server)
tests/test_web_functional.py:1577
Function
test_subapp_pre_frozen_after_adding
()
tests/test_web_app.py:382
Function
test_subapp_repr
(app)
tests/test_urldispatch.py:1255
Function
test_subapp_reverse_static_url
(aiohttp_client)
tests/test_web_functional.py:1396
Function
test_subapp_reverse_url
(aiohttp_client)
tests/test_web_functional.py:1348
Function
test_subapp_reverse_variable_url
(aiohttp_client)
tests/test_web_functional.py:1371
Function
test_subapp_rule_resource
(app)
tests/test_urldispatch.py:1174
Function
test_subapp_url_for
(app)
tests/test_urldispatch.py:1248
Function
test_system_route
()
tests/test_web_urldispatcher.py:673
Function
test_system_route_get_info
(router)
tests/test_urldispatch.py:992
Function
test_tail_bounded_until_parser_is_installed
Data buffered before ``set_parser()`` pauses reading, and always resumes. An await after the 101, such as a tracing callback doing I/O, holds off
tests/test_client_proto.py:457
Function
test_tail_bounded_while_a_trace_callback_suspends
A tracing callback must not let the peer fill the pre-parser buffer. ``_tail`` starts filling when the 101 is parsed, inside ``resp.start()``,
tests/test_client_ws_functional.py:1923
Function
test_tail_resume_leaves_the_timeout_stopped_for_another_pause
Draining the tail must not restart sock_read for someone else's pause. The drain runs through ``data_received()``, which reschedules, so the
tests/test_client_proto.py:521
Function
test_tcp_connector
(aiohttp_client, loop)
tests/test_connector.py:3831
Function
test_tcp_connector_allowed_protocols
(loop: asyncio.AbstractEventLoop)
tests/test_connector.py:2477
Function
test_tcp_connector_cancel_dns_error_captured
( loop, dns_response_error )
tests/test_connector.py:1433
Function
test_tcp_connector_certificate_error
( loop: Any, start_connection: mock.AsyncMock )
tests/test_connector.py:704
Function
test_tcp_connector_clear_dns_cache
(loop)
tests/test_connector.py:2664
Function
test_tcp_connector_clear_dns_cache_bad_args
(loop)
tests/test_connector.py:2687
← previous
next →
5,301–5,400 of 5,960, ranked by callers