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_no_future_warning_on_disconnect_during_backpressure
( aiohttp_server: AiohttpServer, )
tests/test_web_server.py:423
Function
test_no_handler_cancellation
(unused_port_socket: socket.socket)
tests/test_web_server.py:383
Function
test_no_link_451
()
tests/test_web_exceptions.py:196
Function
test_no_path
(make_request)
tests/test_client_request.py:406
Function
test_no_payload_200_with_chunked_encoding
Test chunked is preserved on a 200 response with no payload.
tests/test_client_functional.py:2821
Function
test_no_payload_304_with_chunked_encoding
Test a 304 response with no payload with chunked set should have it removed.
tests/test_client_functional.py:2771
Function
test_no_redirect_history_in_exception
()
tests/test_client_response.py:1215
Function
test_no_request_cookies
()
tests/test_web_request.py:370
Function
test_no_retry_on_second_401
Test digest auth does not retry on second 401.
tests/test_client_middleware_digest_auth.py:897
Method
test_no_trailing_slash_when_disabled
(self, path, status, cli)
tests/test_web_middleware.py:236
Function
test_no_transfer_encoding_header
(make_request, mocker)
tests/test_web_websocket.py:716
Function
test_no_upgrade
()
tests/test_websocket_handshake.py:42
Function
test_no_warn_for_autoclose_payload_via_body_setter
Test that no warning is issued for payloads with autoclose=True.
tests/test_client_request.py:1825
Function
test_no_warn_for_consumed_payload_via_body_setter
Test that no warning is issued for already consumed payloads.
tests/test_client_request.py:1849
Function
test_no_warn_for_simple_data_via_update_body_from_data
Test that no warning is issued for simple data types.
tests/test_client_request.py:1928
Function
test_no_warnings
Verify that exploding importables doesn't explode. This is seeking for any import errors including ones caused by circular imports.
tests/test_circular_imports.py:100
Function
test_non_app
()
tests/test_web_runner.py:121
Function
test_non_ascii_path
()
tests/test_web_request.py:222
Function
test_non_ascii_raw_path
()
tests/test_web_request.py:227
Function
test_non_chunked_write_empty_body
Test non-chunked response with empty body.
tests/test_http_writer.py:1580
Function
test_non_close_detached_session_on_error_cm
(aiohttp_server)
tests/test_client_functional.py:4123
Function
test_non_default_router
()
tests/test_web_app.py:198
Function
test_non_get_methods_classification
Test that POST-like methods are not in GET_METHODS.
tests/test_client_request.py:2260
Function
test_non_http_redirect_closes_payload
Test that NonHttpUrlRedirectClientError exception closes the request payload.
tests/test_client_functional.py:5807
Function
test_non_keepalive_on_closing
()
tests/test_web_request.py:341
Function
test_non_keepalive_on_http10
()
tests/test_web_request.py:336
Method
test_none_description
(self)
tests/test_client_exceptions.py:341
Function
test_nonstarted_close
()
tests/test_web_websocket.py:107
Function
test_nonstarted_ping
()
tests/test_web_websocket.py:71
Function
test_nonstarted_pong
()
tests/test_web_websocket.py:77
Function
test_nonstarted_receive_bytes
()
tests/test_web_websocket.py:154
Function
test_nonstarted_receive_json
()
tests/test_web_websocket.py:160
Function
test_nonstarted_receive_str
()
tests/test_web_websocket.py:113
Function
test_nonstarted_send_bytes
()
tests/test_web_websocket.py:95
Function
test_nonstarted_send_frame
()
tests/test_web_websocket.py:83
Function
test_nonstarted_send_json
()
tests/test_web_websocket.py:101
Function
test_nonstarted_send_json_bytes
()
tests/test_web_websocket.py:218
Function
test_nonstarted_send_str
()
tests/test_web_websocket.py:89
Function
test_nonstr_text_in_ctor
()
tests/test_web_response.py:1598
Function
test_normal_closure_while_client_sends_msg
Test normal closure when the server closes and the client responds properly.
tests/test_web_websocket_functional.py:1648
Function
test_not_allowed_repr
(router)
tests/test_urldispatch.py:719
Method
test_not_expired_ttl
(self)
tests/test_connector.py:4166
Method
test_not_expired_ttl_None
(self, dns_cache_table)
tests/test_connector.py:4162
Function
test_not_found_repr
(router)
tests/test_urldispatch.py:713
Function
test_ok_from_status
(aiohttp_client, status, expected_ok)
tests/test_client_functional.py:3563
Function
test_old_style_middleware
(loop, aiohttp_client)
tests/test_web_middleware.py:397
Function
test_old_style_middleware_class
(loop, aiohttp_client)
tests/test_web_middleware.py:438
Function
test_on_body_write_clipped_chunk
Bytes clipped at the declared length are not reported.
tests/test_http_writer.py:1730
Function
test_on_body_write_compressed_chunk
With compression the pre-compression payload size is reported.
tests/test_http_writer.py:1746
Function
test_on_body_write_counts_payload_bytes
The on_body_write callback reports accepted body bytes.
tests/test_http_writer.py:1715
Function
test_on_body_write_write_eof_final_chunk
A final chunk is reported across the framing/compression paths.
tests/test_http_writer.py:1780
Function
test_on_eof
(protocol)
tests/test_streams.py:1387
Function
test_on_eof_empty_reader
()
tests/test_streams.py:1399
Function
test_on_eof_eof_is_set
(protocol)
tests/test_streams.py:1432
Function
test_on_eof_eof_is_set_exception
(protocol)
tests/test_streams.py:1443
Function
test_on_eof_exc_in_callback
(protocol)
tests/test_streams.py:1408
Function
test_on_eof_exc_in_callback_empty_stream_reader
()
tests/test_streams.py:1422
Function
test_on_shutdown
()
tests/test_web_app.py:212
Function
test_on_startup
()
tests/test_web_app.py:227
Method
test_on_startup_hook
(self)
tests/test_loop.py:37
Function
test_one_byte_at_a_time
Send one byte at a time to the parser.
tests/test_websocket_parser.py:362
Function
test_one_hundred_get_requests_iter_chunks_on_1mb_chunked_payload
Benchmark 100 GET requests with a 1 MiB chunked payload using iter_chunks.
tests/test_benchmarks_client.py:215
Function
test_one_hundred_get_requests_with_1024_chunked_payload
Benchmark 100 GET requests with a small payload of 1024 bytes.
tests/test_benchmarks_client.py:128
Function
test_one_hundred_get_requests_with_1024_content_length_payload
Benchmark 100 GET requests with a small payload of 1024 bytes.
tests/test_benchmarks_client.py:280
Function
test_one_hundred_get_requests_with_1mb_chunked_payload
Benchmark 100 GET requests with a 1 MiB chunked payload using read.
tests/test_benchmarks_client.py:186
Function
test_one_hundred_get_requests_with_1mb_content_length_payload
Benchmark 100 GET requests with a content-length payload of 1 MiB.
tests/test_benchmarks_client.py:336
Function
test_one_hundred_get_requests_with_30000_chunked_payload
Benchmark 100 GET requests with a payload of 30000 bytes.
tests/test_benchmarks_client.py:157
Function
test_one_hundred_get_requests_with_30000_content_length_payload
Benchmark 100 GET requests with a payload of 30000 bytes.
tests/test_benchmarks_client.py:308
Function
test_one_hundred_json_post_requests
Benchmark 100 JSON POST requests that check the content-type.
tests/test_benchmarks_client.py:389
Function
test_one_hundred_simple_get_requests
Benchmark 100 simple GET requests.
tests/test_benchmarks_client.py:19
Function
test_one_hundred_simple_get_requests_alternating_clients
Benchmark 100 simple GET requests with alternating clients.
tests/test_benchmarks_client.py:44
Function
test_one_hundred_simple_get_requests_multiple_methods_route
Benchmark 100 simple GET requests on a route with multiple methods.
tests/test_benchmarks_client.py:100
Function
test_one_hundred_simple_get_requests_no_session
Benchmark 100 simple GET requests without a session.
tests/test_benchmarks_client.py:74
Function
test_one_hundred_simple_post_requests
Benchmark 100 simple POST requests.
tests/test_benchmarks_client.py:364
Function
test_one_thousand_large_round_trip_websocket_text_messages
Benchmark round trip of 100 large WebSocket text messages.
tests/test_benchmarks_client_ws.py:84
Function
test_one_thousand_round_trip_websocket_binary_messages
Benchmark round trip of 1000 WebSocket binary messages.
tests/test_benchmarks_client_ws.py:51
Function
test_one_thousand_round_trip_websocket_text_messages
Benchmark round trip of 1000 WebSocket text messages.
tests/test_benchmarks_client_ws.py:19
Method
test_open_redirects
( self, append_slash: bool, remove_slash: bool, aiohttp_client: Any )
tests/test_web_middleware.py:372
Function
test_options
(router)
tests/test_route_def.py:45
Function
test_options_deco
(router)
tests/test_route_def.py:245
Function
test_order_is_preserved
Test route order is preserved. Note that fixed/static paths are always preferred over a regex path.
tests/test_web_urldispatcher.py:927
Function
test_oserror
(loop: asyncio.AbstractEventLoop)
tests/test_client_proto.py:27
Method
test_oserror
(self)
tests/test_client_exceptions.py:235
Function
test_oserror_on_write_bytes
(loop, conn)
tests/test_client_request.py:1350
Function
test_oserror_on_write_bytes_with_upload_tracker
A write failure is recorded on the request's UploadTracker.
tests/test_client_request.py:2422
Function
test_override_body_with_binary
()
tests/test_web_exceptions.py:165
Function
test_override_body_with_text
()
tests/test_web_exceptions.py:156
Function
test_override_default_headers
(aiohttp_client)
tests/test_client_ws_functional.py:764
Function
test_oversized_secure_value_keeps_cookie_off_plain_http
()
tests/test_cookiejar.py:2095
Method
test_ows_before_separator
(self)
tests/test_multipart_helpers.py:33
Function
test_parallel_drain_race_condition
()
tests/test_base_protocol.py:241
Function
test_params_and_query_string
Test combining params with an existing query_string.
tests/test_client_functional.py:930
Function
test_params_are_added_before_fragment1
(make_request)
tests/test_client_request.py:503
Function
test_params_are_added_before_fragment2
(make_request)
tests/test_client_request.py:508
Function
test_params_empty_path_and_url
(make_request)
tests/test_client_request.py:608
Function
test_params_update_path_and_url
(make_request)
tests/test_client_request.py:601
Function
test_parse
(parser: HttpRequestParser)
tests/test_http_parser.py:738
Function
test_parse_bad_method_for_c_parser_raises
( loop: asyncio.AbstractEventLoop, server: Server )
tests/test_http_parser.py:2908
Function
test_parse_body
(parser: HttpRequestParser)
tests/test_http_parser.py:766
Function
test_parse_body_with_CRLF
(parser)
tests/test_http_parser.py:775
← previous
next →
4,101–4,200 of 5,960, ranked by callers