Help for web.cookies.clear_all

Sample CLI

gway web.cookies clear-all

Full Code

def clear_all(path="/"):
    """
    Remove all cookies in the request, blanking and expiring each.
    """
    if not check_consent():
        return
    for cookie in list(request.cookies):
        remove(cookie, path=path)