summaryrefslogblamecommitdiffhomepage
path: root/test/python/input_iter/wsgi.py
blob: d3bf437f6910229186dce3b117d3bb5d8f97c4d3 (plain) (tree)
1
2
3
4
5




                                                               
def application(environ, start_response):
    body = bytes(environ['wsgi.input'].__iter__())

    start_response('200', [('Content-Length', str(len(body)))])
    return [body]