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

Method send

tests/test_client_request.py:916–926  ·  view source on GitHub ↗
(self, writer, reader)

Source from the content-addressed store, hash-verified

914 class CustomRequest(ClientRequest):
915
916 def send(self, writer, reader):
917 resp = self.response_class(self.method,
918 self.url,
919 self.host,
920 writer=self._writer,
921 continue100=self._continue)
922 resp._post_init(self.loop)
923 self.response = resp
924 nonlocal called
925 called = True
926 return resp
927
928 @asyncio.coroutine
929 def create_connection(req):

Calls 1

_post_initMethod · 0.80

Tested by

no test coverage detected