code: def head(self, url: StrOrURL, *, allow_redirects: bool=False,
               **kwargs: Any) -> '_RequestContextManager':
          
          return _RequestContextManager(
              self._request(hdrs.METH_HEAD, url,
                            allow_redirects=allow_redirects,
                            **kwargs))
docs: Perform HTTP HEAD request.