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_basic_auth1
()
tests/test_helpers.py:138
Function
test_basic_auth2
()
tests/test_helpers.py:144
Function
test_basic_auth3
()
tests/test_helpers.py:154
Function
test_basic_auth4
()
tests/test_helpers.py:161
Function
test_basic_auth_decode
(header)
tests/test_helpers.py:212
Function
test_basic_auth_decode_bad_base64
()
tests/test_helpers.py:228
Function
test_basic_auth_decode_blank_username
(credentials, expected_auth)
tests/test_helpers.py:257
Function
test_basic_auth_decode_illegal_chars_base64
(header)
tests/test_helpers.py:234
Function
test_basic_auth_decode_invalid_credentials
()
tests/test_helpers.py:239
Function
test_basic_auth_decode_not_basic
()
tests/test_helpers.py:223
Function
test_basic_auth_deprecated
()
tests/test_helpers.py:169
Function
test_basic_auth_from_not_url
()
tests/test_helpers.py:283
Function
test_basic_auth_from_url
(make_request)
tests/test_client_request.py:460
Function
test_basic_auth_from_url
()
tests/test_helpers.py:262
Function
test_basic_auth_from_url_overridden
(make_request)
tests/test_client_request.py:474
Function
test_basic_auth_invalid
()
tests/test_helpers.py:218
Function
test_basic_auth_no_auth_from_url
()
tests/test_helpers.py:277
Function
test_basic_auth_no_user_from_url
(make_request)
tests/test_client_request.py:467
Function
test_basic_auth_no_user_from_url
()
tests/test_helpers.py:269
Function
test_basic_auth_no_warn_helpers_silent
Internal aiohttp paths must not raise BasicAuth's deprecation warning.
tests/test_helpers.py:194
Function
test_basic_auth_tuple_forbidden
(make_request)
tests/test_client_request.py:455
Function
test_basic_auth_utf8
(make_request)
tests/test_client_request.py:447
Function
test_basic_with_auth_colon_in_login
()
tests/test_helpers.py:149
Function
test_basicauth_from_empty_netrc
Test that no Authorization header is sent when netrc is empty
tests/test_client_request.py:1597
Function
test_basicauth_from_netrc_present_untrusted_env
Test no authorization header is sent via netrc if trust_env is False
tests/test_client_request.py:1583
Function
test_basicauth_present_in_netrc
Test that netrc file contents are properly parsed into BasicAuth tuples
tests/test_helpers.py:1038
Method
test_begin_and_end_chunk_receiving
(self)
tests/test_streams.py:846
Function
test_binary_headers_reject_injection_in_name
(bad_byte: str)
tests/test_payload.py:112
Function
test_binary_headers_reject_injection_in_value
(bad_byte: str)
tests/test_payload.py:105
Function
test_body_in_ctor_with_content_type_header_multidict
()
tests/test_web_response.py:1624
Method
test_body_is_json_encoded_bytes
(self)
tests/test_web_response.py:1729
Function
test_body_part_reader_payload_as_bytes
Test that BodyPartReaderPayload.as_bytes raises TypeError.
tests/test_multipart.py:1939
Function
test_body_part_reader_payload_consumed_after_write
A drained body part reader must report itself as consumed.
tests/test_multipart.py:2065
Function
test_body_part_reader_payload_write
()
tests/test_multipart.py:1960
Function
test_body_payload_with_size_no_content_length
Test that when a body payload is set via update_body, Content-Length is added.
tests/test_client_request.py:1049
Function
test_body_setter_closes_previous_payload
Test that body setter properly closes the previous payload.
tests/test_client_request.py:1973
Function
test_body_with_size_sets_content_length
Test that when body has a size and no Content-Length header is set, it gets added.
tests/test_client_request.py:1026
Method
test_bool
(self)
tests/test_helpers.py:944
Function
test_bool_attrs_is_superset_of_morsel_flags
Test that _COOKIE_BOOL_ATTRS contains all Morsel._flags attributes.
tests/test_cookie_helpers.py:35
Function
test_bool_websocket_not_ready
()
tests/test_web_websocket.py:311
Function
test_bool_websocket_ready
()
tests/test_web_websocket.py:306
Function
test_borrow_connector_loop
(connector, create_session, loop)
tests/test_client_session.py:541
Function
test_broken_connection
(aiohttp_client)
tests/test_client_functional.py:3341
Function
test_broken_connection_2
(aiohttp_client)
tests/test_client_functional.py:3354
Function
test_buffered_reader_payload_redirect
Test that BufferedReaderPayload can be reused across redirects.
tests/test_client_functional.py:5533
Function
test_buffered_reader_payload_reusability
Test that BufferedReaderPayload can be written and read multiple times.
tests/test_payload.py:889
Function
test_bug3380
( loop: asyncio.AbstractEventLoop, aiohttp_client: AiohttpClient )
tests/test_web_websocket_functional.py:1399
Function
test_build_client_middlewares_empty
Test build_client_middlewares with empty middlewares.
tests/test_client_middleware.py:436
Function
test_build_url_returns_expected_url
( create_session, base_url, url, expected_url )
tests/test_client_session.py:1340
Function
test_burst_under_high_water_is_parsed_in_one_read
( protocol: BaseProtocol, )
tests/test_websocket_parser.py:1518
Function
test_bytes_data
(loop, conn)
tests/test_client_request.py:867
Function
test_bytes_io_payload_close_does_not_close_io
Test that BytesIOPayload close() does not close the underlying BytesIO.
tests/test_payload.py:1004
Function
test_bytes_io_payload_redirect
Test that BytesIOPayload can be reused across redirects.
tests/test_client_functional.py:5599
Function
test_bytes_io_payload_reusability
Test that BytesIOPayload can be written and read multiple times.
tests/test_payload.py:829
Function
test_bytes_io_payload_size
Test BytesIOPayload.size property.
tests/test_payload.py:1225
Function
test_bytes_payload_backwards_compatibility
Test BytesPayload.write() backwards compatibility delegates to write_with_length().
tests/test_payload.py:595
Function
test_bytes_payload_bad_type
()
tests/test_payload.py:129
Function
test_bytes_payload_default_content_type
()
tests/test_payload.py:119
Function
test_bytes_payload_explicit_content_type
()
tests/test_payload.py:124
Function
test_bytes_payload_memoryview_correct_size
()
tests/test_payload.py:134
Function
test_bytes_payload_redirect
Test that BytesPayload can be reused across redirects.
tests/test_client_functional.py:5394
Function
test_bytes_payload_reusability
Test that BytesPayload can be written and read multiple times.
tests/test_payload.py:774
Function
test_bytes_payload_size
Test BytesPayload.size property returns correct byte length.
tests/test_payload.py:1125
Function
test_bytes_payload_write_with_length_exact
Test BytesPayload writing with exact content length.
tests/test_payload.py:231
Function
test_bytes_payload_write_with_length_no_limit
Test BytesPayload writing with no content length limit.
tests/test_payload.py:220
Function
test_bytes_payload_write_with_length_truncated
Test BytesPayload writing with truncated content length.
tests/test_payload.py:242
Function
test_bytesio_payload_backwards_compatibility
Test BytesIOPayload.write() backwards compatibility delegates to write_with_length().
tests/test_payload.py:652
Function
test_bytesio_payload_large_data_multiple_chunks
Test BytesIOPayload with large data requiring multiple read chunks.
tests/test_payload.py:347
Function
test_bytesio_payload_remaining_bytes_exhausted
Test BytesIOPayload when remaining_bytes becomes <= 0.
tests/test_payload.py:358
Function
test_bytesio_payload_write_with_length_exact
Test BytesIOPayload writing with exact content length.
tests/test_payload.py:297
Function
test_bytesio_payload_write_with_length_no_limit
Test BytesIOPayload writing with no content length limit.
tests/test_payload.py:286
Function
test_bytesio_payload_write_with_length_remaining_zero
Test BytesIOPayload with content_length smaller than first read chunk.
tests/test_payload.py:319
Function
test_bytesio_payload_write_with_length_truncated
Test BytesIOPayload writing with truncated content length.
tests/test_payload.py:308
Function
test_c_parser_error_snippet_at_buffer_end_request
( loop: asyncio.AbstractEventLoop, server: Server, text: bytes, snippet: bytes, )
tests/test_http_parser.py:2407
Function
test_c_parser_error_snippet_bounded_response
( body: bytes, snippet: bytes, reason: str )
tests/test_http_parser.py:2389
Function
test_c_parser_error_snippet_fragmented_response
( body: bytes, snippet: bytes, reason: str, split: int )
tests/test_http_parser.py:2426
Function
test_c_parser_loaded
()
tests/test_http_parser.py:155
Function
test_calc_content_type_on_getting_charset
()
tests/test_web_request.py:209
Function
test_call_POST_on_GET_request
()
tests/test_web_request.py:346
Function
test_call_POST_on_weird_content_type
()
tests/test_web_request.py:353
Function
test_call_POST_twice
()
tests/test_web_request.py:362
Function
test_callbacks_exception
(connector, key, protocol, loop)
tests/test_client_connection.py:63
Function
test_callbacks_on_close
(connector, key, protocol, loop)
tests/test_client_connection.py:37
Function
test_callbacks_on_release
(connector, key, protocol, loop)
tests/test_client_connection.py:50
Function
test_can_prepare_ok
(make_request)
tests/test_web_websocket.py:316
Function
test_can_prepare_started
(make_request)
tests/test_web_websocket.py:334
Function
test_can_prepare_unknown_protocol
(make_request)
tests/test_web_websocket.py:322
Function
test_can_prepare_without_upgrade
(make_request)
tests/test_web_websocket.py:328
Function
test_cancel_close
(loop: asyncio.AbstractEventLoop, conn: mock.Mock)
tests/test_client_request.py:1367
Function
test_cancel_during_expect100_preamble_closes_connection
A writer cancelled while waiting for 100-continue closes the connection. The request headers are already on the wire at that point, so releasing
tests/test_client_request.py:2501
Function
test_cancel_heartbeat_cancels_pending_heartbeat_reset_handle
( loop: asyncio.AbstractEventLoop, )
tests/test_client_ws.py:674
Function
test_cancel_heartbeat_cancels_pending_heartbeat_reset_handle
( loop: asyncio.AbstractEventLoop, )
tests/test_web_websocket.py:119
Function
test_cancel_shutdown
(aiohttp_client: AiohttpClient)
tests/test_web_functional.py:209
Function
test_cancellation_during_waiting_for_free_connection
( loop: asyncio.AbstractEventLoop, )
tests/test_connector.py:1866
Function
test_cancelled_waiter
(loop)
tests/test_connector.py:3755
Function
test_cannot_add_subapp_with_empty_prefix
(app)
tests/test_urldispatch.py:1331
Function
test_cannot_add_subapp_with_slash_prefix
(app)
tests/test_urldispatch.py:1337
Function
test_cannot_clone_after_read
(protocol: BaseProtocol)
tests/test_web_request.py:974
Method
test_cannot_remove_and_add_slash
(self)
tests/test_web_middleware.py:360
Function
test_cannot_write_after_eof
()
tests/test_web_response.py:914
← previous
next →
2,701–2,800 of 5,960, ranked by callers