(self, url, **kwargs)
return self.request('HEAD', url, **kwargs)
r"""Sends a HEAD request. Returns :class:`Response` object.

        :param url: URL for the new :class:`Request` object.
        :param \*\*kwargs: Optional arguments that ``request`` takes.
        :rtype: requests.Response
r"""Sends a HEAD request. Returns :class:`Response` object.
r Sends a HEAD request . Returns : class : Response object .
def head(self, url, **kwargs):
        r"""Sends a HEAD request. Returns :class:`Response` object.

        :param url: URL for the new :class:`Request` object.
        :param \*\*kwargs: Optional arguments that ``request`` takes.
        :rtype: requests.Response
        """

        kwargs.setdefault('allow_redirects', False)
        return self.request('HEAD', url, **kwargs)
def head ( self , url , * * kwargs ) : kwargs . setdefault ( 'allow_redirects' , False ) return self . request ( 'HEAD' , url , * * kwargs )