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_parse_set_cookie_headers_ignores_attribute_with_control_character
Control characters, even from unquoting, drop just the attribute.
tests/test_cookie_helpers.py:188
Function
test_parse_set_cookie_headers_illegal_cookie_names
Test that illegal cookie names are rejected.
tests/test_cookie_helpers.py:925
Function
test_parse_set_cookie_headers_invalid_cookie_syntax
Test handling of invalid cookie syntax.
tests/test_cookie_helpers.py:910
Function
test_parse_set_cookie_headers_invalid_names
Test parse_set_cookie_headers rejects truly invalid cookie names.
tests/test_cookie_helpers.py:342
Function
test_parse_set_cookie_headers_issue_7993_double_quotes
Unknown segments with unmatched quotes remain attributes of one cookie.
tests/test_cookie_helpers.py:880
Function
test_parse_set_cookie_headers_limits_accepted_fields
Malformed fields do not consume the 50-cookie response budget.
tests/test_cookie_helpers.py:109
Function
test_parse_set_cookie_headers_limits_attributes_per_field
()
tests/test_cookie_helpers.py:200
Function
test_parse_set_cookie_headers_literal_ctl_chars
r"""Ensure literal control characters in a cookie value don't crash the parser. If the raw header itself contains a control character (e.g. BEL \
tests/test_cookie_helpers.py:1316
Function
test_parse_set_cookie_headers_literal_ctl_chars_preserves_others
Ensure a cookie with literal control chars doesn't break subsequent cookies.
tests/test_cookie_helpers.py:1326
Function
test_parse_set_cookie_headers_logs_dropped_fields
( caplog: pytest.LogCaptureFixture, headers: list[str], message: str )
tests/test_cookie_helpers.py:219
Function
test_parse_set_cookie_headers_many_unknown_attributes
()
tests/test_cookie_helpers.py:143
Function
test_parse_set_cookie_headers_multiple_cookies_same_header
A Set-Cookie field creates exactly one cookie.
tests/test_cookie_helpers.py:454
Function
test_parse_set_cookie_headers_partitioned
Test that parse_set_cookie_headers handles partitioned attribute correctly. This tests the fix for issue #10380 - partitioned cookies suppor
tests/test_cookie_helpers.py:719
Function
test_parse_set_cookie_headers_partitioned_case_insensitive
Test that partitioned attribute is recognized case-insensitively.
tests/test_cookie_helpers.py:759
Function
test_parse_set_cookie_headers_partitioned_not_set
Test that cookies without partitioned attribute don't have it set.
tests/test_cookie_helpers.py:779
Function
test_parse_set_cookie_headers_partitioned_not_set_if_no_support
()
tests/test_cookie_helpers.py:800
Function
test_parse_set_cookie_headers_partitioned_with_other_attrs_manual
Test parsing logic for partitioned cookies combined with all other attributes. This test verifies our parsing logic handles partitioned corr
tests/test_cookie_helpers.py:816
Function
test_parse_set_cookie_headers_quoted_attribute_values
( attribute: str, path: str, secure: str | bool )
tests/test_cookie_helpers.py:161
Function
test_parse_set_cookie_headers_quoted_value_with_trailing_text
()
tests/test_cookie_helpers.py:237
Function
test_parse_set_cookie_headers_quoted_values
Test parse_set_cookie_headers handles quoted values correctly.
tests/test_cookie_helpers.py:416
Function
test_parse_set_cookie_headers_rejects_control_characters
(header: str)
tests/test_cookie_helpers.py:283
Function
test_parse_set_cookie_headers_rejects_surrogateescaped_value
()
tests/test_cookie_helpers.py:398
Function
test_parse_set_cookie_headers_rejects_unserializable_pairs
Pairs that BaseCookie can't serialize unambiguously are rejected.
tests/test_cookie_helpers.py:393
Function
test_parse_set_cookie_headers_relaxed_validation_differences
Test where parse_set_cookie_headers differs from SimpleCookie (relaxed validation).
tests/test_cookie_helpers.py:513
Function
test_parse_set_cookie_headers_rfc2822_timezone_issue_4493
Test that parse_set_cookie_headers handles RFC 2822 timezone formats. This tests the fix for issue #4493 - support for RFC 2822-compliant da
tests/test_cookie_helpers.py:1165
Function
test_parse_set_cookie_headers_rfc2822_with_attributes
Test that RFC 2822 dates work correctly with other cookie attributes.
tests/test_cookie_helpers.py:1207
Function
test_parse_set_cookie_headers_semicolon_in_quoted_values
Semicolons in a quoted value do not create additional cookies.
tests/test_cookie_helpers.py:444
Function
test_parse_set_cookie_headers_simple
Test parse_set_cookie_headers with simple cookies.
tests/test_cookie_helpers.py:94
Function
test_parse_set_cookie_headers_skips_malformed_attribute
(header: str)
tests/test_cookie_helpers.py:174
Function
test_parse_set_cookie_headers_skips_rejected_morsels
( monkeypatch: pytest.MonkeyPatch, )
tests/test_cookie_helpers.py:247
Function
test_parse_set_cookie_headers_special_chars_in_names
Test parse_set_cookie_headers accepts special characters in names (#2683).
tests/test_cookie_helpers.py:314
Function
test_parse_set_cookie_headers_tolerates_missing_attribute_semicolons
()
tests/test_cookie_helpers.py:588
Function
test_parse_set_cookie_headers_trims_wsp_and_preserves_first_equals
()
tests/test_cookie_helpers.py:377
Function
test_parse_set_cookie_headers_unknown_attrs_ignored
Unknown attributes do not create additional cookies.
tests/test_cookie_helpers.py:574
Function
test_parse_set_cookie_headers_unmatched_quotes_compatibility
Malformed later segments never create more cookies from one field.
tests/test_cookie_helpers.py:1032
Function
test_parse_set_cookie_headers_uses_unquote_with_octal
Test that parse_set_cookie_headers correctly unquotes values with octal sequences and preserves coded_value.
tests/test_cookie_helpers.py:1286
Function
test_parse_set_cookie_headers_valid_fields_log_nothing
( caplog: pytest.LogCaptureFixture, )
tests/test_cookie_helpers.py:228
Function
test_parse_set_cookie_headers_various_date_formats_issue_4327
Test that parse_set_cookie_headers handles various date formats per RFC 6265. This tests the fix for issue #4327 - support for RFC 822, RFC
tests/test_cookie_helpers.py:1100
Function
test_parse_set_cookie_headers_with_attributes
Test parse_set_cookie_headers with cookie attributes.
tests/test_cookie_helpers.py:287
Function
test_parse_unusual_request_line
(parser)
tests/test_http_parser.py:703
Function
test_parse_uri_empty_query_with_fragment
(parser: HttpRequestParser)
tests/test_http_parser.py:2891
Function
test_parse_uri_percent_encoded
(parser, uri, path, query, fragment)
tests/test_http_parser.py:2851
Function
test_parse_uri_utf8
(parser)
tests/test_http_parser.py:2863
Function
test_parse_uri_utf8_percent_encoded
(parser)
tests/test_http_parser.py:2876
Function
test_parser_error_while_draining_tail_discards_data
A parser that errors on the drained tail still discards what follows. The bad frame usually arrives with the handshake, so it is already in `
tests/test_client_proto.py:434
Function
test_partial_pipelined_request_after_failed_websocket_upgrade
Partial pipelined bytes are preserved across finish_response. Only part of the second request rides along with the upgrade, so feed_data() in
tests/test_web_websocket_functional.py:181
Function
test_partial_request_split_still_parses
A legitimate request split mid-line must still stream.
tests/test_http_parser.py:418
Function
test_partial_url
(parser: HttpRequestParser)
tests/test_http_parser.py:2826
Function
test_partially_applied_handler
(aiohttp_client: AiohttpClient)
tests/test_web_urldispatcher.py:629
Function
test_pass_falsy_data
(loop)
tests/test_client_request.py:831
Function
test_pass_falsy_data_file
(loop, tmp_path)
tests/test_client_request.py:838
Method
test_passing_body_only
(self)
tests/test_web_response.py:1714
Function
test_passing_cimultidict_to_web_response_not_mutated
( loose_header_type: type, )
tests/test_web_response.py:1752
Method
test_passing_text_only
(self)
tests/test_web_response.py:1682
Function
test_patch
(router)
tests/test_route_def.py:83
Function
test_patch_deco
(router)
tests/test_route_def.py:213
Function
test_path_and_host
(mocker: Any, monkeypatch: Any)
tests/test_web_cli.py:100
Method
test_path_filter_diff_folder_same_name
(self)
tests/test_cookiejar.py:833
Method
test_path_filter_diff_folder_same_name_return_best_match_independent_from_put_order
( self, )
tests/test_cookiejar.py:855
Method
test_path_filter_different_folder
(self)
tests/test_cookiejar.py:731
Method
test_path_filter_file
(self)
tests/test_cookiejar.py:678
Method
test_path_filter_folder
(self)
tests/test_cookiejar.py:669
Method
test_path_filter_root
(self)
tests/test_cookiejar.py:661
Method
test_path_filter_subfolder
(self)
tests/test_cookiejar.py:695
Method
test_path_filter_subsubfolder
(self)
tests/test_cookiejar.py:713
Function
test_path_is_not_double_encoded1
(make_request)
tests/test_client_request.py:483
Function
test_path_is_not_double_encoded2
(make_request)
tests/test_client_request.py:488
Function
test_path_is_not_double_encoded3
(make_request)
tests/test_client_request.py:493
Function
test_path_no_host
(mocker: Any, monkeypatch: Any)
tests/test_web_cli.py:88
Function
test_path_not_contain_fragment1
(make_request)
tests/test_client_request.py:515
Function
test_path_not_contain_fragment2
(make_request)
tests/test_client_request.py:520
Function
test_path_safe_chars_preserved
(make_request)
tests/test_client_request.py:498
Method
test_path_value
(self)
tests/test_cookiejar.py:742
Function
test_path_when_unsupported
(mocker: Any, monkeypatch: Any)
tests/test_web_cli.py:113
Function
test_pause_reading_for_buffer_ignores_unsupported_transport
A transport without flow control raising on pause is ignored.
tests/test_web_protocol.py:198
Function
test_pause_reading_for_buffer_without_transport
Pausing with no transport still records the paused state.
tests/test_web_protocol.py:53
Function
test_pause_reading_no_transport
()
tests/test_base_protocol.py:28
Function
test_pause_reading_stub_transport
()
tests/test_base_protocol.py:36
Function
test_pause_resume_on_error
(loop: asyncio.AbstractEventLoop)
tests/test_client_proto.py:37
Function
test_pause_writing
()
tests/test_base_protocol.py:18
Function
test_payload_body_get_text
(payload, expected: str | None)
tests/test_web_response.py:1366
Function
test_payload_content_length_by_chunks
(aiohttp_client)
tests/test_client_functional.py:2866
Function
test_payload_content_type
()
tests/test_payload.py:99
Function
test_payload_ctor
()
tests/test_payload.py:90
Function
test_payload_decompress_size_limit
Test that decompression size limit triggers DecompressSizeError. When a compressed payload expands beyond the configured limit, we raise Deco
tests/test_client_functional.py:2652
Function
test_payload_decompress_size_limit_brotli
Test that brotli decompression size limit triggers DecompressSizeError.
tests/test_client_functional.py:2685
Function
test_payload_decompress_size_limit_zstd
Test that zstd decompression size limit triggers DecompressSizeError.
tests/test_client_functional.py:2716
Function
test_payloadwriter_properties
(transport, protocol, loop)
tests/test_http_writer.py:85
Function
test_peer_connection_lost
(aiohttp_client)
tests/test_client_ws_functional.py:1426
Function
test_peer_connection_lost_iter
(aiohttp_client)
tests/test_client_ws_functional.py:1450
Function
test_per_request_cookies_are_not_jar_limited
( aiohttp_client: AiohttpClient, )
tests/test_client_functional.py:2971
Method
test_pickle
(self)
tests/test_http_exceptions.py:17
Method
test_pickle
(self)
tests/test_http_exceptions.py:50
Method
test_pickle
(self)
tests/test_http_exceptions.py:77
Method
test_pickle
(self)
tests/test_http_exceptions.py:108
Method
test_pickle
(self)
tests/test_http_exceptions.py:140
Method
test_pickle
(self)
tests/test_websocket_parser.py:966
Method
test_pickle
(self)
tests/test_client_exceptions.py:32
Method
test_pickle
(self)
tests/test_client_exceptions.py:142
Method
test_pickle
(self)
tests/test_client_exceptions.py:200
← previous
next →
4,301–4,400 of 5,960, ranked by callers