Tests: forwarded header replacement tests.
This commit is contained in:
10
test/python/forwarded_header/wsgi.py
Normal file
10
test/python/forwarded_header/wsgi.py
Normal file
@@ -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 []
|
||||
Reference in New Issue
Block a user