(self)
| 10 | |
| 11 | class MyView(web.View): |
| 12 | async def get(self): |
| 13 | return web.json_response( |
| 14 | { |
| 15 | "method": "get", |
| 16 | "args": dict(self.request.query), |
| 17 | "headers": dict(self.request.headers), |
| 18 | }, |
| 19 | dumps=functools.partial(json.dumps, indent=4), |
| 20 | ) |
| 21 | |
| 22 | async def post(self): |
| 23 | data = await self.request.post() |
no outgoing calls
no test coverage detected