def head(url, **kwargs):

    kwargs.setdefault('allow_redirects', False)
    return request('head', url, **kwargs)
Decorator: Whitelist method to be called remotely via REST API.
dataset/ETHPy150Open Bolton-and-Menk-GIS/restapi/restapi/requests/api.py/head--crossover with--dataset/ETHPy150Open frappe/frappe/frappe/model/document.py/Document.whitelist