summaryrefslogblamecommitdiffhomepage
path: root/test/python/header_fields/wsgi.py
blob: bd1ba0e26d3dec8378e08bd11008148a6dc54927 (plain) (tree)
1
2
3
4
5
6
7
8
9








                                                                
def application(environ, start_response):

    h = (k for k, v in environ.items() if k.startswith('HTTP_'))

    start_response('200', [
        ('Content-Length', '0'),
        ('All-Headers', ','.join(h))
    ])
    return []