summaryrefslogblamecommitdiffhomepage
path: root/test/python/body_io/wsgi.py
blob: 14303b5fd6a0369e0b5e0de7bb530a6d172be79f (plain) (tree)
1
2
3
4
5
6





                                                     
import io

def application(env, start_response):
    start_response('200', [('Content-Length', '10')])
    f = io.BytesIO(b'0123456789')
    return f