

def __get_client_address(self, environ):
    '\n        http://stackoverflow.com/questions/7835030/obtaining-client-ip-address-from-a-wsgi-app-using-eventlet\n        '
    try:
        return environ['HTTP_X_FORWARDED_FOR'].split(',')[(- 1)].strip()
    except KeyError:
        return self['REMOTE_ADDR']

dataset/ETHPy150Open galaxyproject/pulsar/pulsar/web/framework.py Controller.__get_client_address/VarMisuse@46/101 `environ`->`self`