xref: /unit/test/python/forwarded_header/wsgi.py (revision 2134:f576f11a58b4)
1*2134Sz.hong@f5.comdef application(env, start_response):
2*2134Sz.hong@f5.com    start_response(
3*2134Sz.hong@f5.com        '200',
4*2134Sz.hong@f5.com        [
5*2134Sz.hong@f5.com            ('Content-Length', '0'),
6*2134Sz.hong@f5.com            ('Remote-Addr', env.get('REMOTE_ADDR')),
7*2134Sz.hong@f5.com            ('Url-Scheme', env.get('wsgi.url_scheme')),
8*2134Sz.hong@f5.com        ],
9*2134Sz.hong@f5.com    )
10*2134Sz.hong@f5.com    return []
11