@app.route('/user-agent')
def view_user_agent(request):

    headers = get_headers(request)

    return jsonify({'user-agent': headers['user-agent']})
Retrieves a Permission according to the given model and app_label.
dataset/ETHPy150Open mozillazg/bustard/tests/httpbin/core.py/view_user_agent--crossover with--dataset/ETHPy150Open scieloorg/scielo-manager/scielomanager/api/tests_resources_v2.py/_makePermission