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