xref: /unit/test/python/input_readlines/wsgi.py (revision 1400:cbd75efbfb74)
1def application(environ, start_response):
2    body = environ['wsgi.input'].readlines()
3
4    start_response('200', [('X-Lines-Count', str(len(body)))])
5    return body
6