xref: /unit/test/python/custom_header/wsgi.py (revision 1848:4bd548074e2c)
1578Szelenkov@nginx.comdef application(environ, start_response):
2578Szelenkov@nginx.com
3*1848Szelenkov@nginx.com    start_response(
4*1848Szelenkov@nginx.com        '200',
5*1848Szelenkov@nginx.com        [
6*1848Szelenkov@nginx.com            ('Content-Length', '0'),
7*1848Szelenkov@nginx.com            ('Custom-Header', environ.get('HTTP_CUSTOM_HEADER')),
8*1848Szelenkov@nginx.com        ],
9*1848Szelenkov@nginx.com    )
10578Szelenkov@nginx.com    return []
11