Tests: more Python tests.
This commit is contained in:
5
test/python/input_iter/wsgi.py
Normal file
5
test/python/input_iter/wsgi.py
Normal file
@@ -0,0 +1,5 @@
|
||||
def application(environ, start_response):
|
||||
body = bytes(environ['wsgi.input'].__iter__())
|
||||
|
||||
start_response('200', [('Content-Length', str(len(body)))])
|
||||
return [body]
|
||||
Reference in New Issue
Block a user