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_when_timeout_smaller_second_with_low_threshold
(loop)
tests/test_helpers.py:456
Function
test_whitespace_around_header_value
(parser: HttpRequestParser)
tests/test_http_parser.py:681
Function
test_whitespace_before_header
(parser: Any)
tests/test_http_parser.py:675
Method
test_with
(self)
tests/test_multipart.py:1649
Function
test_with_client_fails
(loop)
tests/test_test_utils.py:99
Function
test_with_test_server_fails
(loop)
tests/test_test_utils.py:92
Function
test_write_before_start
()
tests/test_web_response.py:907
Function
test_write_bytes_empty_iterable_with_content_length
Test that write_bytes handles empty iterable body with content_length.
tests/test_client_request.py:1780
Function
test_write_bytes_with_content_length_limit
Test that write_bytes respects content_length limit for different body types.
tests/test_client_request.py:1725
Function
test_write_bytes_with_iterable_content_length_limit
Test that write_bytes respects content_length limit for iterable data.
tests/test_client_request.py:1751
Function
test_write_calls_callback
( protocol: BaseProtocol, transport: asyncio.Transport, loop: asyncio.AbstractEventLoop, )
tests/test_http_writer.py:837
Function
test_write_compressed_chunked_with_headers_coalescing
Test headers coalescing with compressed chunked data.
tests/test_http_writer.py:1093
Function
test_write_compressed_data_with_headers_coalescing
Test that headers are coalesced with compressed data in write() method.
tests/test_http_writer.py:1069
Function
test_write_compressed_gzip_with_headers_coalescing
Test gzip compression with header coalescing.
tests/test_http_writer.py:1177
Function
test_write_compressed_zero_length_chunk
Test writing empty chunk with compression.
tests/test_http_writer.py:1227
Function
test_write_drain
(protocol, transport, loop)
tests/test_http_writer.py:826
Function
test_write_drain_condition_with_large_buffer
Test that drain is called only when drain=True AND buffer_size > LIMIT.
tests/test_http_writer.py:1456
Function
test_write_drain_condition_with_small_buffer
Test that drain is not called when buffer_size <= LIMIT.
tests/test_http_writer.py:1427
Function
test_write_eof_calls_callback
( protocol: BaseProtocol, transport: asyncio.Transport, loop: asyncio.AbstractEventLoop, )
tests/test_http_writer.py:850
Function
test_write_eof_chunked_with_data_using_writelines
Test write_eof with chunked data that uses writelines (line 336).
tests/test_http_writer.py:1651
Function
test_write_eof_closes_payload_on_cancel
()
tests/test_web_response.py:1508
Function
test_write_eof_closes_payload_on_success
()
tests/test_web_response.py:1479
Function
test_write_eof_closes_payload_on_write_error
()
tests/test_web_response.py:1493
Function
test_write_eof_empty_compressed_with_buffered_headers
Test write_eof with no data but compression enabled and buffered headers.
tests/test_http_writer.py:1152
Function
test_write_eof_idempotent
(make_request)
tests/test_web_websocket.py:512
Function
test_write_eof_not_started
()
tests/test_web_websocket.py:506
Function
test_write_eof_with_buffered_headers
( buf: bytearray, protocol: BaseProtocol, transport: asyncio.Transport, loop: asyncio.Abstract
tests/test_http_writer.py:138
Function
test_write_headers_buffered_small_payload
( buf: bytearray, protocol: BaseProtocol, transport: asyncio.Transport, loop: asyncio.Abstract
tests/test_http_writer.py:91
Function
test_write_headers_chunked_coalescing
( buf: bytearray, protocol: BaseProtocol, transport: asyncio.Transport, loop: asyncio.Abstract
tests/test_http_writer.py:114
Function
test_write_headers_does_not_write_immediately
( protocol: BaseProtocol, transport: mock.Mock, loop: asyncio.AbstractEventLoop, )
tests/test_http_writer.py:937
Function
test_write_headers_prevents_injection
(protocol, transport, loop)
tests/test_http_writer.py:903
Function
test_write_headers_with_compression_coalescing
( buf: bytearray, protocol: BaseProtocol, transport: asyncio.Transport, loop: asyncio.Abstract
tests/test_http_writer.py:956
Function
test_write_large_payload_deflate_compression_chunked_data_in_eof
( protocol: BaseProtocol, transport: asyncio.Transport, loop: asyncio.AbstractEventLoop, )
tests/test_http_writer.py:616
Function
test_write_large_payload_deflate_compression_chunked_data_in_eof_all_zlib
( protocol: BaseProtocol, transport: asyncio.Transport, loop: asyncio.AbstractEventLoop, )
tests/test_http_writer.py:643
Function
test_write_large_payload_deflate_compression_chunked_data_in_eof_writelines
( protocol: BaseProtocol, transport: asyncio.Transport, loop: asyncio.AbstractEventLoop, )
tests/test_http_writer.py:672
Function
test_write_large_payload_deflate_compression_chunked_data_in_eof_writelines_all_zlib
( protocol: BaseProtocol, transport: asyncio.Transport, loop: asyncio.AbstractEventLoop, )
tests/test_http_writer.py:701
Function
test_write_large_payload_deflate_compression_data_in_eof
( protocol: BaseProtocol, transport: asyncio.Transport, loop: asyncio.AbstractEventLoop, )
tests/test_http_writer.py:230
Function
test_write_large_payload_deflate_compression_data_in_eof_all_zlib
( protocol: BaseProtocol, transport: asyncio.Transport, loop: asyncio.AbstractEventLoop, )
tests/test_http_writer.py:257
Function
test_write_large_payload_deflate_compression_data_in_eof_writelines
( protocol: BaseProtocol, transport: asyncio.Transport, loop: asyncio.AbstractEventLoop, )
tests/test_http_writer.py:291
Function
test_write_large_payload_deflate_compression_data_in_eof_writelines_all_zlib
( protocol: BaseProtocol, transport: asyncio.Transport, loop: asyncio.AbstractEventLoop, )
tests/test_http_writer.py:319
Function
test_write_multiple_compressed_chunks_after_headers_sent
Test multiple compressed writes after headers are already sent.
tests/test_http_writer.py:1123
Function
test_write_no_drain_with_large_buffer
Test that drain is not called when drain=False even with large buffer.
tests/test_http_writer.py:1485
Function
test_write_non_byteish
()
tests/test_web_response.py:899
Function
test_write_non_prepared
()
tests/test_web_websocket.py:238
Function
test_write_payload_2d_shape_memoryview
(buf, protocol, transport, loop)
tests/test_http_writer.py:798
Function
test_write_payload_bytes_memoryview
( buf: bytearray, protocol: BaseProtocol, transport: asyncio.Transport, loop: asyncio.Abstract
tests/test_http_writer.py:765
Function
test_write_payload_chunked
(buf, protocol, transport, loop)
tests/test_http_writer.py:196
Function
test_write_payload_chunked_filter
( protocol: BaseProtocol, transport: asyncio.Transport, loop: asyncio.AbstractEventLoop, )
tests/test_http_writer.py:354
Function
test_write_payload_chunked_filter_multiple_chunks
( protocol: BaseProtocol, transport: asyncio.Transport, loop: asyncio.AbstractEventLoop, )
tests/test_http_writer.py:370
Function
test_write_payload_chunked_multiple
(buf, protocol, transport, loop)
tests/test_http_writer.py:205
Function
test_write_payload_deflate_and_chunked
( buf: bytearray, protocol: BaseProtocol, transport: asyncio.Transport, loop: asyncio.Abstract
tests/test_http_writer.py:501
Function
test_write_payload_deflate_and_chunked_all_zlib
( buf: bytearray, protocol: BaseProtocol, transport: asyncio.Transport, loop: asyncio.Abstract
tests/test_http_writer.py:520
Function
test_write_payload_deflate_compression
(protocol, transport, loop)
tests/test_http_writer.py:391
Function
test_write_payload_deflate_compression_all_zlib
( protocol: BaseProtocol, transport: asyncio.Transport, loop: asyncio.AbstractEventLoop, )
tests/test_http_writer.py:406
Function
test_write_payload_deflate_compression_chunked
( protocol: BaseProtocol, transport: asyncio.Transport, loop: asyncio.AbstractEventLoop, )
tests/test_http_writer.py:423
Function
test_write_payload_deflate_compression_chunked_all_zlib
( protocol: BaseProtocol, transport: asyncio.Transport, loop: asyncio.AbstractEventLoop, )
tests/test_http_writer.py:442
Function
test_write_payload_deflate_compression_chunked_connection_lost
( protocol: BaseProtocol, transport: asyncio.Transport, loop: asyncio.AbstractEventLoop, )
tests/test_http_writer.py:728
Function
test_write_payload_deflate_compression_chunked_connection_lost_all_zlib
( protocol: BaseProtocol, transport: asyncio.Transport, loop: asyncio.AbstractEventLoop, )
tests/test_http_writer.py:747
Function
test_write_payload_deflate_compression_chunked_data_in_eof
( protocol: BaseProtocol, transport: asyncio.Transport, loop: asyncio.AbstractEventLoop, )
tests/test_http_writer.py:538
Function
test_write_payload_deflate_compression_chunked_data_in_eof_all_zlib
( protocol: BaseProtocol, transport: asyncio.Transport, loop: asyncio.AbstractEventLoop, )
tests/test_http_writer.py:557
Function
test_write_payload_deflate_compression_chunked_data_in_eof_writelines
( protocol: BaseProtocol, transport: asyncio.Transport, loop: asyncio.AbstractEventLoop, )
tests/test_http_writer.py:577
Function
test_write_payload_deflate_compression_chunked_data_in_eof_writelines_all_zlib
( protocol: BaseProtocol, transport: asyncio.Transport, loop: asyncio.AbstractEventLoop, )
tests/test_http_writer.py:598
Function
test_write_payload_deflate_compression_chunked_writelines
( protocol: BaseProtocol, transport: asyncio.Transport, loop: asyncio.AbstractEventLoop, )
tests/test_http_writer.py:462
Function
test_write_payload_deflate_compression_chunked_writelines_all_zlib
( protocol: BaseProtocol, transport: asyncio.Transport, loop: asyncio.AbstractEventLoop, )
tests/test_http_writer.py:483
Function
test_write_payload_eof
( transport: asyncio.Transport, protocol: BaseProtocol, loop: asyncio.AbstractEventLoop, )
tests/test_http_writer.py:180
Function
test_write_payload_length
(protocol, transport, loop)
tests/test_http_writer.py:215
Function
test_write_payload_short_ints_memoryview
(buf, protocol, transport, loop)
tests/test_http_writer.py:782
Function
test_write_payload_slicing_long_memoryview
(buf, protocol, transport, loop)
tests/test_http_writer.py:812
Method
test_write_preserves_content_disposition
( self, buf: bytearray, stream: AbstractStreamWriter )
tests/test_multipart.py:1671
Function
test_write_to_closed_transport
Test that writing to a closed transport raises ClientConnectionResetError. The StreamWriter checks to see if protocol.transport is None before
tests/test_http_writer.py:873
Function
test_write_to_closing_transport
(protocol, transport, loop)
tests/test_http_writer.py:863
Function
test_writer
(writer)
tests/test_multipart.py:1314
Function
test_writer_content_transfer_encoding_quote_printable
( buf: bytearray, stream: AbstractStreamWriter, writer: aiohttp.MultipartWriter )
tests/test_multipart.py:1527
Function
test_writer_content_transfer_encoding_unknown
( buf: bytearray, stream: AbstractStreamWriter, writer: aiohttp.MultipartWriter )
tests/test_multipart.py:1545
Function
test_writer_serialize_form
( buf: bytearray, stream: AbstractStreamWriter, writer: aiohttp.MultipartWriter )
tests/test_multipart.py:1342
Function
test_writer_serialize_form_dict
( buf: bytearray, stream: AbstractStreamWriter, writer: aiohttp.MultipartWriter )
tests/test_multipart.py:1352
Function
test_writer_serialize_io_chunk
( buf: bytearray, stream: AbstractStreamWriter, writer: aiohttp.MultipartWriter )
tests/test_multipart.py:1319
Function
test_writer_serialize_json
( buf: bytearray, stream: AbstractStreamWriter, writer: aiohttp.MultipartWriter )
tests/test_multipart.py:1331
Function
test_writer_serialize_with_content_encoding_deflate
( buf: bytearray, stream: AbstractStreamWriter, writer: aiohttp.MultipartWriter )
tests/test_multipart.py:1472
Function
test_writer_serialize_with_content_encoding_gzip
( buf: bytearray, stream: AbstractStreamWriter, writer: aiohttp.MultipartWriter, )
tests/test_multipart.py:1452
Function
test_writer_serialize_with_content_encoding_identity
( buf: bytearray, stream: AbstractStreamWriter, writer: aiohttp.MultipartWriter )
tests/test_multipart.py:1488
Function
test_writer_serialize_with_content_encoding_unknown
( buf: bytearray, stream: AbstractStreamWriter, writer: aiohttp.MultipartWriter )
tests/test_multipart.py:1505
Function
test_writer_with_content_transfer_encoding_base64
( buf: bytearray, stream: AbstractStreamWriter, writer: aiohttp.MultipartWriter )
tests/test_multipart.py:1512
Function
test_writer_write
( buf: bytearray, stream: AbstractStreamWriter, writer: aiohttp.MultipartWriter )
tests/test_multipart.py:1362
Function
test_writer_write_no_close_boundary
( buf: bytearray, stream: AbstractStreamWriter )
tests/test_multipart.py:1410
Function
test_writer_write_no_parts
( buf: bytearray, stream: AbstractStreamWriter, writer: aiohttp.MultipartWriter )
tests/test_multipart.py:1444
Function
test_ws_async_with
(aiohttp_server)
tests/test_client_ws_functional.py:1321
Function
test_ws_async_with_send
(aiohttp_server)
tests/test_client_ws_functional.py:1344
Function
test_ws_async_with_shortcut
(aiohttp_server)
tests/test_client_ws_functional.py:1369
Function
test_ws_client_async_for
(aiohttp_client)
tests/test_client_ws_functional.py:1295
Function
test_ws_close_return_code
Test that the close code is returned when the server closes the connection.
tests/test_web_websocket_functional.py:1575
Function
test_ws_connect
(ws_key: Any, loop: Any, key_data: Any)
tests/test_client_ws.py:16
Function
test_ws_connect_allowed_protocols
( create_session: Any, create_mocked_conn: Any, protocol: str, ws_key: Any, key_data: Any,
tests/test_client_session.py:617
Function
test_ws_connect_close_resp_on_err
( loop: asyncio.AbstractEventLoop, ws_key: str, key_data: bytes )
tests/test_client_ws.py:749
Function
test_ws_connect_common_headers
(ws_key, loop, key_data)
tests/test_client_ws.py:293
Function
test_ws_connect_custom_response
(loop, ws_key, key_data)
tests/test_client_ws.py:179
Function
test_ws_connect_deflate
(loop, ws_key, key_data)
tests/test_client_ws.py:820
Function
test_ws_connect_deflate_client_wbits
(loop, ws_key, key_data)
tests/test_client_ws.py:935
Function
test_ws_connect_deflate_client_wbits_bad
(loop, ws_key, key_data)
tests/test_client_ws.py:960
Function
test_ws_connect_deflate_notakeover
(loop, ws_key, key_data)
tests/test_client_ws.py:910
← previous
next →
5,701–5,800 of 5,960, ranked by callers