Tests: added Python input readline and iterator tests.
This commit is contained in:
5
test/python/input_readlines/wsgi.py
Normal file
5
test/python/input_readlines/wsgi.py
Normal file
@@ -0,0 +1,5 @@
|
||||
def application(environ, start_response):
|
||||
body = environ['wsgi.input'].readlines()
|
||||
|
||||
start_response('200', [('X-Lines-Count', str(len(body)))])
|
||||
return body
|
||||
Reference in New Issue
Block a user