Files
nginx-unit/test/python/input_readlines/wsgi.py

6 lines
167 B
Python

def application(environ, start_response):
body = environ['wsgi.input'].readlines()
start_response('200', [('X-Lines-Count', str(len(body)))])
return body