xref: /unit/test/python/body_io_file/wsgi.py (revision 603:a11b80dedc6b)
1*603Szelenkov@nginx.comdef application(env, start_response):
2*603Szelenkov@nginx.com    start_response('200', [('Content-Length', '5')])
3*603Szelenkov@nginx.com    f = open('file', 'rb')
4*603Szelenkov@nginx.com    return f
5