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

Method release

aiohttp/web_reqrep.py:294–301  ·  view source on GitHub ↗

Release request. Eat unread part of HTTP BODY if present.

(self)

Source from the content-addressed store, hash-verified

292
293 @asyncio.coroutine
294 def release(self):
295 """Release request.
296
297 Eat unread part of HTTP BODY if present.
298 """
299 chunk = yield from self._payload.readany()
300 while chunk is not EOF_MARKER or chunk:
301 chunk = yield from self._payload.readany()
302
303 @asyncio.coroutine
304 def read(self):

Callers 15

do_bombFunction · 0.45
runFunction · 0.45
_requestMethod · 0.45
__aexit__Method · 0.45
test_releaseMethod · 0.45
fMethod · 0.45
goMethod · 0.45
test_tcp_connectorMethod · 0.45

Calls 1

readanyMethod · 0.45