MCPcopy
hub / github.com/aio-libs/aiohttp / enable_chunked_encoding

Method enable_chunked_encoding

aiohttp/web_reqrep.py:476–479  ·  view source on GitHub ↗

Enables automatic chunked transfer encoding.

(self, chunk_size=None)

Source from the content-addressed store, hash-verified

474 self._keep_alive = False
475
476 def enable_chunked_encoding(self, chunk_size=None):
477 """Enables automatic chunked transfer encoding."""
478 self._chunked = True
479 self._chunk_size = chunk_size
480
481 def enable_compression(self, force=None):
482 """Enables response compression encoding."""

Callers 5

test_chunked_encodingFunction · 0.95
test_chunk_sizeFunction · 0.95
handlerMethod · 0.95
_startMethod · 0.45

Calls

no outgoing calls

Tested by 4

test_chunked_encodingFunction · 0.76
test_chunk_sizeFunction · 0.76
handlerMethod · 0.76