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

Method head

aiohttp/client.py:393–398  ·  view source on GitHub ↗

Perform HTTP HEAD request.

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

Source from the content-addressed store, hash-verified

391 **kwargs))
392
393 def head(self, url, *, allow_redirects=False, **kwargs):
394 """Perform HTTP HEAD request."""
395 return _RequestContextManager(
396 self._request(hdrs.METH_HEAD, url,
397 allow_redirects=allow_redirects,
398 **kwargs))
399
400 def post(self, url, *, data=None, **kwargs):
401 """Perform HTTP POST request."""

Callers 1

test_http_HEADFunction · 0.80

Calls 2

_requestMethod · 0.95

Tested by 1

test_http_HEADFunction · 0.64