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

    headers = get_headers(request)

    return jsonify({'user-agent': headers['user-agent']})
Returns User-Agent.
dataset/ETHPy150Open mozillazg/bustard/tests/httpbin/core.py/view_user_agent