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

Method _request

aiohttp/test_utils.py:344–350  ·  view source on GitHub ↗
(
        self, method: str, path: StrOrURL, **kwargs: Any
    )

Source from the content-addressed store, hash-verified

342 return self._server.make_url(path)
343
344 async def _request(
345 self, method: str, path: StrOrURL, **kwargs: Any
346 ) -> ClientResponse:
347 resp = await self._session.request(method, self.make_url(path), **kwargs)
348 # save it to close later
349 self._responses.append(resp)
350 return resp
351
352 if sys.version_info >= (3, 11) and TYPE_CHECKING:
353

Callers 8

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

Calls 3

make_urlMethod · 0.95
appendMethod · 0.80
requestMethod · 0.45

Tested by

no test coverage detected