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

Method handler

tests/test_web_functional.py:68–71  ·  view source on GitHub ↗
(request)

Source from the content-addressed store, hash-verified

66
67 @asyncio.coroutine
68 def handler(request):
69 body = yield from request.read()
70 self.assertEqual(b'', body)
71 return web.Response(body=b'OK')
72
73 @asyncio.coroutine
74 def go():

Callers

nothing calls this directly

Calls 12

prepareMethod · 0.95
writeMethod · 0.95
encodeMethod · 0.80
appendMethod · 0.80
readMethod · 0.45
postMethod · 0.45
textMethod · 0.45
jsonMethod · 0.45
closeMethod · 0.45
releaseMethod · 0.45
readanyMethod · 0.45

Tested by

no test coverage detected