diff options
Diffstat (limited to 'test/python/client_ip')
-rw-r--r-- | test/python/client_ip/wsgi.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/python/client_ip/wsgi.py b/test/python/client_ip/wsgi.py new file mode 100644 index 00000000..0e12db0a --- /dev/null +++ b/test/python/client_ip/wsgi.py @@ -0,0 +1,4 @@ +def application(env, start_response): + ip = env['REMOTE_ADDR'].encode() + start_response('200', [('Content-Length', str(len(ip)))]) + return ip |