Files
nginx-unit/test/python/host/wsgi.py
2019-02-27 20:41:30 +03:00

8 lines
222 B
Python

def application(env, start_response):
start_response('200', [
('Content-Length', '0'),
('X-Server-Name', env.get('SERVER_NAME')),
('X-Http-Host', str(env.get('HTTP_HOST')))
])
return []