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

Class _RequestContextManager

aiohttp/client.py:552–559  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

550
551
552class _RequestContextManager(_BaseRequestContextManager):
553 if PY_35:
554 @asyncio.coroutine
555 def __aexit__(self, exc_type, exc, tb):
556 if exc_type is not None:
557 self._resp.close()
558 else:
559 yield from self._resp.release()
560
561
562class _WSRequestContextManager(_BaseRequestContextManager):

Callers 8

requestMethod · 0.85
getMethod · 0.85
optionsMethod · 0.85
headMethod · 0.85
postMethod · 0.85
putMethod · 0.85
patchMethod · 0.85
deleteMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected