xref: /unit/test/python/header_fields/wsgi.py (revision 1848:4bd548074e2c)
1def application(environ, start_response):
2
3    h = (k for k, v in environ.items() if k.startswith('HTTP_'))
4
5    start_response(
6        '200', [('Content-Length', '0'), ('All-Headers', ','.join(h))]
7    )
8    return []
9