summaryrefslogtreecommitdiffhomepage
path: root/test/python/forwarded_header/wsgi.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/python/forwarded_header/wsgi.py')
-rw-r--r--test/python/forwarded_header/wsgi.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/python/forwarded_header/wsgi.py b/test/python/forwarded_header/wsgi.py
new file mode 100644
index 00000000..44d370ab
--- /dev/null
+++ b/test/python/forwarded_header/wsgi.py
@@ -0,0 +1,10 @@
+def application(env, start_response):
+ start_response(
+ '200',
+ [
+ ('Content-Length', '0'),
+ ('Remote-Addr', env.get('REMOTE_ADDR')),
+ ('Url-Scheme', env.get('wsgi.url_scheme')),
+ ],
+ )
+ return []