xref: /unit/test/python/client_ip/wsgi.py (revision 1937:0791ba191da0)
1*1937So.canty@f5.comdef application(env, start_response):
2*1937So.canty@f5.com    ip = env['REMOTE_ADDR'].encode()
3*1937So.canty@f5.com    start_response('200', [('Content-Length', str(len(ip)))])
4*1937So.canty@f5.com    return ip
5