xref: /unit/test/python/host/wsgi.py (revision 1848:4bd548074e2c)
1def application(env, start_response):
2    start_response(
3        '200',
4        [
5            ('Content-Length', '0'),
6            ('X-Server-Name', env.get('SERVER_NAME')),
7            ('X-Http-Host', str(env.get('HTTP_HOST'))),
8        ],
9    )
10    return []
11