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