@app.route('/ip')
def view_origin(request):

    return jsonify(origin=request.headers.get('X-Forwarded-For',
                                              request.remote_addr))
The string representation of a constant on a L{Flags} subclass includes
dataset/ETHPy150Open mozillazg/bustard/tests/httpbin/core.py/view_origin--crossover with--dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/python/test/test_constants.py/FlagsTests.test_representation