MCPcopy Create free account

hub / github.com/aio-libs/aiohttp / functions

Functions5,960 in github.com/aio-libs/aiohttp

Functiontest_basic_auth1
()
tests/test_helpers.py:138
Functiontest_basic_auth2
()
tests/test_helpers.py:144
Functiontest_basic_auth3
()
tests/test_helpers.py:154
Functiontest_basic_auth4
()
tests/test_helpers.py:161
Functiontest_basic_auth_decode
(header)
tests/test_helpers.py:212
Functiontest_basic_auth_decode_bad_base64
()
tests/test_helpers.py:228
Functiontest_basic_auth_decode_blank_username
(credentials, expected_auth)
tests/test_helpers.py:257
Functiontest_basic_auth_decode_illegal_chars_base64
(header)
tests/test_helpers.py:234
Functiontest_basic_auth_decode_invalid_credentials
()
tests/test_helpers.py:239
Functiontest_basic_auth_decode_not_basic
()
tests/test_helpers.py:223
Functiontest_basic_auth_deprecated
()
tests/test_helpers.py:169
Functiontest_basic_auth_from_not_url
()
tests/test_helpers.py:283
Functiontest_basic_auth_from_url
(make_request)
tests/test_client_request.py:460
Functiontest_basic_auth_from_url
()
tests/test_helpers.py:262
Functiontest_basic_auth_from_url_overridden
(make_request)
tests/test_client_request.py:474
Functiontest_basic_auth_invalid
()
tests/test_helpers.py:218
Functiontest_basic_auth_no_auth_from_url
()
tests/test_helpers.py:277
Functiontest_basic_auth_no_user_from_url
(make_request)
tests/test_client_request.py:467
Functiontest_basic_auth_no_user_from_url
()
tests/test_helpers.py:269
Functiontest_basic_auth_no_warn_helpers_silent
Internal aiohttp paths must not raise BasicAuth's deprecation warning.
tests/test_helpers.py:194
Functiontest_basic_auth_tuple_forbidden
(make_request)
tests/test_client_request.py:455
Functiontest_basic_auth_utf8
(make_request)
tests/test_client_request.py:447
Functiontest_basic_with_auth_colon_in_login
()
tests/test_helpers.py:149
Functiontest_basicauth_from_empty_netrc
Test that no Authorization header is sent when netrc is empty
tests/test_client_request.py:1597
Functiontest_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
Functiontest_basicauth_present_in_netrc
Test that netrc file contents are properly parsed into BasicAuth tuples
tests/test_helpers.py:1038
Methodtest_begin_and_end_chunk_receiving
(self)
tests/test_streams.py:846
Functiontest_binary_headers_reject_injection_in_name
(bad_byte: str)
tests/test_payload.py:112
Functiontest_binary_headers_reject_injection_in_value
(bad_byte: str)
tests/test_payload.py:105
Functiontest_body_in_ctor_with_content_type_header_multidict
()
tests/test_web_response.py:1624
Methodtest_body_is_json_encoded_bytes
(self)
tests/test_web_response.py:1729
Functiontest_body_part_reader_payload_as_bytes
Test that BodyPartReaderPayload.as_bytes raises TypeError.
tests/test_multipart.py:1939
Functiontest_body_part_reader_payload_consumed_after_write
A drained body part reader must report itself as consumed.
tests/test_multipart.py:2065
Functiontest_body_part_reader_payload_write
()
tests/test_multipart.py:1960
Functiontest_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
Functiontest_body_setter_closes_previous_payload
Test that body setter properly closes the previous payload.
tests/test_client_request.py:1973
Functiontest_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
Methodtest_bool
(self)
tests/test_helpers.py:944
Functiontest_bool_attrs_is_superset_of_morsel_flags
Test that _COOKIE_BOOL_ATTRS contains all Morsel._flags attributes.
tests/test_cookie_helpers.py:35
Functiontest_bool_websocket_not_ready
()
tests/test_web_websocket.py:311
Functiontest_bool_websocket_ready
()
tests/test_web_websocket.py:306
Functiontest_borrow_connector_loop
(connector, create_session, loop)
tests/test_client_session.py:541
Functiontest_broken_connection
(aiohttp_client)
tests/test_client_functional.py:3341
Functiontest_broken_connection_2
(aiohttp_client)
tests/test_client_functional.py:3354
Functiontest_buffered_reader_payload_redirect
Test that BufferedReaderPayload can be reused across redirects.
tests/test_client_functional.py:5533
Functiontest_buffered_reader_payload_reusability
Test that BufferedReaderPayload can be written and read multiple times.
tests/test_payload.py:889
Functiontest_bug3380
( loop: asyncio.AbstractEventLoop, aiohttp_client: AiohttpClient )
tests/test_web_websocket_functional.py:1399
Functiontest_build_client_middlewares_empty
Test build_client_middlewares with empty middlewares.
tests/test_client_middleware.py:436
Functiontest_build_url_returns_expected_url
( create_session, base_url, url, expected_url )
tests/test_client_session.py:1340
Functiontest_burst_under_high_water_is_parsed_in_one_read
( protocol: BaseProtocol, )
tests/test_websocket_parser.py:1518
Functiontest_bytes_data
(loop, conn)
tests/test_client_request.py:867
Functiontest_bytes_io_payload_close_does_not_close_io
Test that BytesIOPayload close() does not close the underlying BytesIO.
tests/test_payload.py:1004
Functiontest_bytes_io_payload_redirect
Test that BytesIOPayload can be reused across redirects.
tests/test_client_functional.py:5599
Functiontest_bytes_io_payload_reusability
Test that BytesIOPayload can be written and read multiple times.
tests/test_payload.py:829
Functiontest_bytes_io_payload_size
Test BytesIOPayload.size property.
tests/test_payload.py:1225
Functiontest_bytes_payload_backwards_compatibility
Test BytesPayload.write() backwards compatibility delegates to write_with_length().
tests/test_payload.py:595
Functiontest_bytes_payload_bad_type
()
tests/test_payload.py:129
Functiontest_bytes_payload_default_content_type
()
tests/test_payload.py:119
Functiontest_bytes_payload_explicit_content_type
()
tests/test_payload.py:124
Functiontest_bytes_payload_memoryview_correct_size
()
tests/test_payload.py:134
Functiontest_bytes_payload_redirect
Test that BytesPayload can be reused across redirects.
tests/test_client_functional.py:5394
Functiontest_bytes_payload_reusability
Test that BytesPayload can be written and read multiple times.
tests/test_payload.py:774
Functiontest_bytes_payload_size
Test BytesPayload.size property returns correct byte length.
tests/test_payload.py:1125
Functiontest_bytes_payload_write_with_length_exact
Test BytesPayload writing with exact content length.
tests/test_payload.py:231
Functiontest_bytes_payload_write_with_length_no_limit
Test BytesPayload writing with no content length limit.
tests/test_payload.py:220
Functiontest_bytes_payload_write_with_length_truncated
Test BytesPayload writing with truncated content length.
tests/test_payload.py:242
Functiontest_bytesio_payload_backwards_compatibility
Test BytesIOPayload.write() backwards compatibility delegates to write_with_length().
tests/test_payload.py:652
Functiontest_bytesio_payload_large_data_multiple_chunks
Test BytesIOPayload with large data requiring multiple read chunks.
tests/test_payload.py:347
Functiontest_bytesio_payload_remaining_bytes_exhausted
Test BytesIOPayload when remaining_bytes becomes <= 0.
tests/test_payload.py:358
Functiontest_bytesio_payload_write_with_length_exact
Test BytesIOPayload writing with exact content length.
tests/test_payload.py:297
Functiontest_bytesio_payload_write_with_length_no_limit
Test BytesIOPayload writing with no content length limit.
tests/test_payload.py:286
Functiontest_bytesio_payload_write_with_length_remaining_zero
Test BytesIOPayload with content_length smaller than first read chunk.
tests/test_payload.py:319
Functiontest_bytesio_payload_write_with_length_truncated
Test BytesIOPayload writing with truncated content length.
tests/test_payload.py:308
Functiontest_c_parser_error_snippet_at_buffer_end_request
( loop: asyncio.AbstractEventLoop, server: Server, text: bytes, snippet: bytes, )
tests/test_http_parser.py:2407
Functiontest_c_parser_error_snippet_bounded_response
( body: bytes, snippet: bytes, reason: str )
tests/test_http_parser.py:2389
Functiontest_c_parser_error_snippet_fragmented_response
( body: bytes, snippet: bytes, reason: str, split: int )
tests/test_http_parser.py:2426
Functiontest_c_parser_loaded
()
tests/test_http_parser.py:155
Functiontest_calc_content_type_on_getting_charset
()
tests/test_web_request.py:209
Functiontest_call_POST_on_GET_request
()
tests/test_web_request.py:346
Functiontest_call_POST_on_weird_content_type
()
tests/test_web_request.py:353
Functiontest_call_POST_twice
()
tests/test_web_request.py:362
Functiontest_callbacks_exception
(connector, key, protocol, loop)
tests/test_client_connection.py:63
Functiontest_callbacks_on_close
(connector, key, protocol, loop)
tests/test_client_connection.py:37
Functiontest_callbacks_on_release
(connector, key, protocol, loop)
tests/test_client_connection.py:50
Functiontest_can_prepare_ok
(make_request)
tests/test_web_websocket.py:316
Functiontest_can_prepare_started
(make_request)
tests/test_web_websocket.py:334
Functiontest_can_prepare_unknown_protocol
(make_request)
tests/test_web_websocket.py:322
Functiontest_can_prepare_without_upgrade
(make_request)
tests/test_web_websocket.py:328
Functiontest_cancel_close
(loop: asyncio.AbstractEventLoop, conn: mock.Mock)
tests/test_client_request.py:1367
Functiontest_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
Functiontest_cancel_heartbeat_cancels_pending_heartbeat_reset_handle
( loop: asyncio.AbstractEventLoop, )
tests/test_client_ws.py:674
Functiontest_cancel_heartbeat_cancels_pending_heartbeat_reset_handle
( loop: asyncio.AbstractEventLoop, )
tests/test_web_websocket.py:119
Functiontest_cancel_shutdown
(aiohttp_client: AiohttpClient)
tests/test_web_functional.py:209
Functiontest_cancellation_during_waiting_for_free_connection
( loop: asyncio.AbstractEventLoop, )
tests/test_connector.py:1866
Functiontest_cancelled_waiter
(loop)
tests/test_connector.py:3755
Functiontest_cannot_add_subapp_with_empty_prefix
(app)
tests/test_urldispatch.py:1331
Functiontest_cannot_add_subapp_with_slash_prefix
(app)
tests/test_urldispatch.py:1337
Functiontest_cannot_clone_after_read
(protocol: BaseProtocol)
tests/test_web_request.py:974
Methodtest_cannot_remove_and_add_slash
(self)
tests/test_web_middleware.py:360
Functiontest_cannot_write_after_eof
()
tests/test_web_response.py:914
← previousnext →2,701–2,800 of 5,960, ranked by callers