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

Method feed_eof

aiohttp/protocol.py:389–395  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

387 self.out.feed_data(chunk, len(chunk))
388
389 def feed_eof(self):
390 chunk = self.zlib.flush()
391 self.out.feed_data(chunk, len(chunk))
392 if not self.zlib.eof:
393 raise errors.ContentEncodingError('deflate')
394
395 self.out.feed_eof()
396
397
398def wrap_payload_filter(func):

Callers 5

__call__Method · 0.95
test_feed_eofMethod · 0.95
__call__Method · 0.45
__call__Method · 0.45
__call__Method · 0.45

Calls 2

flushMethod · 0.80
feed_dataMethod · 0.45

Tested by 1

test_feed_eofMethod · 0.76