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

Method get

examples/web_classview1.py:14–19  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

12class MyView(View):
13
14 async def get(self):
15 return json_response({
16 'method': 'get',
17 'args': dict(self.request.GET),
18 'headers': dict(self.request.headers),
19 }, dumps=functools.partial(json.dumps, indent=4))
20
21 async def post(self):
22 data = await self.request.post()

Callers 7

processMethod · 0.45
handle_requestMethod · 0.45
goFunction · 0.45
handle_requestMethod · 0.45
goFunction · 0.45
handle_requestMethod · 0.45
helloFunction · 0.45

Calls 1

json_responseFunction · 0.90

Tested by

no test coverage detected