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

Method _write_eof_payload

aiohttp/protocol.py:773–781  ·  aiohttp/protocol.py::HttpMessage._write_eof_payload
(self)

Source from the content-addressed store, hash-verified

771 length = 0
772
773 def _write_eof_payload(self):
774 while True:
775 try:
776 chunk = yield
777 except aiohttp.EofStream:
778 break
779
780 self.transport.write(chunk)
781 self.output_length += len(chunk)
782
783 @wrap_payload_filter
784 def add_chunking_filter(self, chunk_size=16*1024, *,

Callers 1

send_headersMethod · 0.95

Calls 1

writeMethod · 0.45

Tested by

no test coverage detected