@app.route('/cookies')
def view_cookies(request, hide_env=True):
    """Returns cookie data."""

    cookies = dict(request.cookies.items())

    if hide_env and ('show_env' not in request.args):
        for key in ENV_COOKIES:
            try:
                del cookies[key]
            except __HOLE__:
                pass

    return jsonify(cookies=cookies)
dataset/ETHPy150Open mozillazg/bustard/tests/httpbin/core.py/view_cookies