MCPcopy Create free account

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

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

↓ 1 callersMethodclose
Close all part payloads that need explicit closing. IMPORTANT: This method must not await anything that might not finish imm
aiohttp/multipart.py:1166
↓ 1 callersFunctionclose_connector
()
tests/test_connector.py:4595
↓ 1 callersMethodcompile_format
Translate log_format into form usable by modulo formatting All known atoms will be replaced with %s Also methods for formatting of th
aiohttp/web_log.py:85
↓ 1 callersFunctioncontent_disposition_header
Sets ``Content-Disposition`` header for MIME. This is the MIME payload Content-Disposition header from RFC 2183 and RFC 7579 section 4.2, not
aiohttp/helpers.py:450
↓ 1 callersFunctioncreate_mocked_conn
(loop: Any)
tests/conftest.py:272
↓ 1 callersFunctioncurl
(url)
examples/curl.py:10
↓ 1 callersFunctiondata_gen
()
tests/test_client_request.py:2240
↓ 1 callersFunctiondata_generator
()
tests/test_client_functional.py:4807
↓ 1 callersMethoddecode
Return string representation of the value. WARNING: This method does blocking I/O and should not be called in the event loop.
aiohttp/payload.py:699
↓ 1 callersMethoddecode
Create a BasicAuth object from an Authorization HTTP header.
aiohttp/helpers.py:156
↓ 1 callersMethoddecode
(self, encoding: str = "utf-8", errors: str = "strict")
aiohttp/multipart.py:650
↓ 1 callersMethoddecode
Custom decode implementation.
tests/test_payload.py:1004
↓ 1 callersMethoddecompress_sync
Decompress the given data.
aiohttp/compression_utils.py:169
↓ 1 callersMethoddetach
Detach connector from session without closing the former. Session is switched to closed state anyway.
aiohttp/client.py:1636
↓ 1 callersFunctiondispatch
(ws: aiohttp.ClientWebSocketResponse)
examples/client_ws.py:15
↓ 1 callersFunctiondns_response_error
(loop)
tests/test_connector.py:1391
↓ 1 callersMethodenable_chunking
Enable HTTP chunked mode
aiohttp/abc.py:237
↓ 1 callersMethodenable_compression
( self, encoding: str = "deflate", strategy: int | None = None )
aiohttp/multipart.py:1206
↓ 1 callersMethodenable_encoding
(self, encoding: str)
aiohttp/multipart.py:1199
↓ 1 callersFunctionencode_basic_auth
Encode HTTP Basic Authentication credentials as an Authorization header value. Returns a string of the form ``"Basic <base64>"`` suitable for use
aiohttp/helpers.py:119
↓ 1 callersMethodend_http_chunk_receiving
(self)
aiohttp/http_parser.py:1223
↓ 1 callersMethodeof_received
(self)
aiohttp/client_proto.py:184
↓ 1 callersMethodexception
(self)
aiohttp/client_ws.py:271
↓ 1 callersMethodexception
(self)
aiohttp/streams.py:593
↓ 1 callersMethodexpect_handler
Expect handler for 100-continue processing
aiohttp/abc.py:62
↓ 1 callersFunctionfactory
()
tools/gen.py:26
↓ 1 callersFunctionfail
()
tests/test_run_app.py:898
↓ 1 callersFunctionfake_aiodns_getnameinfo_ipv6_result
( host: str, )
tests/test_resolver.py:118
↓ 1 callersFunctionfake_ipv6_nameinfo
(host: str)
tests/test_resolver.py:157
↓ 1 callersMethodfeed_data
(self, data: bytes, n: int = 0)
aiohttp/streams.py:621
↓ 1 callersMethodfeed_data
(self, data: bytes | bytearray | memoryview)
aiohttp/_websocket/reader_py.py:173
↓ 1 callersMethodfeed_eof
(self)
aiohttp/streams.py:609
↓ 1 callersFunctionfetch
(session: aiohttp.ClientSession)
examples/client_json.py:7
↓ 1 callersFunctionfetch
(session)
examples/client_auth.py:7
↓ 1 callersFunctionfetch1
()
tests/test_client_functional.py:4262
↓ 1 callersFunctionfetch2
()
tests/test_client_functional.py:4270
↓ 1 callersMethodfetch_next_part
Returns the next body part reader.
aiohttp/multipart.py:783
↓ 1 callersFunctionfetch_stream
Fetch a stream and read a few bytes from it.
tests/isolated/check_for_client_response_leak.py:31
↓ 1 callersMethodfinish_response
Prepare the response and write_eof, then log access. This has to be called within the context of any exception so the access logger
aiohttp/web_protocol.py:757
↓ 1 callersMethodforce_close
(self)
aiohttp/client_proto.py:85
↓ 1 callersMethodfreeze
(self)
aiohttp/web_urldispatcher.py:400
↓ 1 callersFunctiongated_body
()
tests/test_client_functional.py:6089
↓ 1 callersFunctiongen
(dct)
tools/gen.py:141
↓ 1 callersFunctiongen
()
tests/test_client_functional.py:4293
↓ 1 callersFunctiongen_block
(dct, prefix, used_blocks, missing, out)
tools/gen.py:107
↓ 1 callersFunctiongen_headers
(headers)
tools/gen.py:151
↓ 1 callersFunctiongen_payload
()
tests/test_client_functional.py:1236
↓ 1 callersFunctiongen_prefix
(prefix, k)
tools/gen.py:100
↓ 1 callersMethodgenerate_access_token
Generate a secure random access token.
examples/token_refresh_middleware.py:135
↓ 1 callersMethodget
( self, path: StrOrURL, **kwargs: Unpack[_RequestOptions], )
aiohttp/test_utils.py:358
↓ 1 callersMethodget
(self, path: str, **kwargs: Any)
aiohttp/web_routedef.py:181
↓ 1 callersMethodget_app
Obsolete method used to constructing web application. Use .get_application() coroutine instead.
aiohttp/test_utils.py:569
↓ 1 callersMethodget_application
Get application. This method should be overridden to return the aiohttp.web.Application object to test.
aiohttp/test_utils.py:560
↓ 1 callersMethodget_client
Return a TestClient instance.
aiohttp/test_utils.py:597
↓ 1 callersMethodget_content_type
Re-implementation from Message Returns application/octet-stream in place of plain/text when value is wrong. The way this cla
aiohttp/helpers.py:392
↓ 1 callersMethodget_extra_info
Get optional transport information. If no value associated with ``name`` is found, ``default`` is returned.
aiohttp/web_ws.py:438
↓ 1 callersMethodget_hash
(self, request: ClientRequest)
tests/test_client_middleware.py:1085
↓ 1 callersFunctionget_memory_usage
(obj)
tests/test_streams.py:46
↓ 1 callersFunctionget_payload
(data: Any, *args: Any, **kwargs: Any)
aiohttp/payload.py:61
↓ 1 callersFunctionget_report
(path: Path, result: dict[str, str])
tests/autobahn/test_autobahn.py:41
↓ 1 callersFunctionget_root
(script_path)
tools/check_changes.py:24
↓ 1 callersMethodget_server
Return a TestServer instance.
aiohttp/test_utils.py:593
↓ 1 callersFunctiongo
()
tests/test_client_request.py:1399
↓ 1 callersFunctiongo
(loop)
examples/client_json.py:15
↓ 1 callersFunctiongo
(loop)
examples/client_auth.py:15
↓ 1 callersFunctionhandle
(request)
tests/test_client_functional.py:3369
↓ 1 callersMethodhandle_abort
(self, sig: int, frame: FrameType | None)
aiohttp/worker.py:222
↓ 1 callersFunctionhandler
(request: web.Request)
tests/test_benchmarks_web_middleware.py:27
↓ 1 callersFunctionhandler
(request)
tests/test_web_functional.py:67
↓ 1 callersFunctionhandler
(request)
examples/web_rewrite_headers_middleware.py:8
↓ 1 callersFunctioninit
()
tests/test_run_app.py:967
↓ 1 callersFunctioninit
()
examples/web_srv_route_deco.py:54
↓ 1 callersFunctioninit
()
examples/web_rewrite_headers_middleware.py:23
↓ 1 callersFunctioninit
()
examples/web_srv_route_table.py:48
↓ 1 callersFunctioninit
()
examples/web_classview.py:54
↓ 1 callersFunctioninit
()
examples/web_cookies.py:37
↓ 1 callersFunctioninit
()
examples/web_srv.py:48
↓ 1 callersFunctioninit
()
examples/background_tasks.py:59
↓ 1 callersFunctioninit
()
examples/web_ws.py:54
↓ 1 callersMethodinit_signals
(self)
aiohttp/worker.py:175
↓ 1 callersFunctionis_canonical_ipv4_address
Check if host is a canonical dotted-quad IPv4 address. Rejects the legacy numeric forms that ``socket`` still accepts and maps onto an addres
aiohttp/helpers.py:514
↓ 1 callersFunctionis_continuous_param
(string: str)
aiohttp/multipart.py:91
↓ 1 callersFunctionis_extended_param
(string: str)
aiohttp/multipart.py:88
↓ 1 callersFunctionis_quoted
(string: str)
aiohttp/multipart.py:82
↓ 1 callersFunctionis_rfc5987
(string: str)
aiohttp/multipart.py:85
↓ 1 callersFunctionjoin
(*suffix)
tests/test_client_request.py:542
↓ 1 callersMethodkeep_alive
Is keepalive enabled by client?
aiohttp/web_request.py:606
↓ 1 callersFunctionlisten_to_valkey
(app: web.Application)
examples/background_tasks.py:33
↓ 1 callersMethodlog
(self, request, response, time)
tests/test_web_log.py:267
↓ 1 callersMethodlog_access
( self, request: BaseRequest, response: StreamResponse, time: float | None )
aiohttp/web_protocol.py:533
↓ 1 callersFunctionlong_running1
(app_param: web.Application)
tests/test_web_app.py:234
↓ 1 callersFunctionlong_running2
(app_param: web.Application)
tests/test_web_app.py:239
↓ 1 callersFunctionmain
(argv)
tools/check_changes.py:33
↓ 1 callersFunctionmain
(argv)
tools/check_sum.py:15
↓ 1 callersFunctionmain
()
tools/cleanup_changes.py:27
↓ 1 callersFunctionmain
(argv: list[str])
aiohttp/web.py:525
↓ 1 callersFunctionmain
()
tests/isolated/check_for_request_leak.py:12
↓ 1 callersFunctionmain
()
tests/isolated/check_for_client_response_leak.py:12
↓ 1 callersFunctionmain
()
examples/retry_middleware.py:234
↓ 1 callersFunctionmain
()
examples/token_refresh_middleware.py:326
← previousnext →701–800 of 5,569, ranked by callers