(url, **kwargs)
return request('head', url, **kwargs)
Sends a HEAD request.

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

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

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