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

Method options

aiohttp/client.py:386–391  ·  view source on GitHub ↗

Perform HTTP OPTIONS request.

(self, url, *, allow_redirects=True, **kwargs)

Source from the content-addressed store, hash-verified

384 **kwargs))
385
386 def options(self, url, *, allow_redirects=True, **kwargs):
387 """Perform HTTP OPTIONS request."""
388 return _RequestContextManager(
389 self._request(hdrs.METH_OPTIONS, url,
390 allow_redirects=allow_redirects,
391 **kwargs))
392
393 def head(self, url, *, allow_redirects=False, **kwargs):
394 """Perform HTTP HEAD request."""

Callers 1

test_http_OPTIONSFunction · 0.80

Calls 2

_requestMethod · 0.95

Tested by 1

test_http_OPTIONSFunction · 0.64