Tests: client IP address replacement.
This commit is contained in:
4
test/python/client_ip/wsgi.py
Normal file
4
test/python/client_ip/wsgi.py
Normal file
@@ -0,0 +1,4 @@
|
||||
def application(env, start_response):
|
||||
ip = env['REMOTE_ADDR'].encode()
|
||||
start_response('200', [('Content-Length', str(len(ip)))])
|
||||
return ip
|
||||
Reference in New Issue
Block a user