On most wsgi-based servers (for example, in standard wsgiref, nwsgi, etc.) there is a way to send some of the work with the body a little more and send a few more. I suggest that "send some more" is optional.
. WSGI ( , Pylons):
def application(environ, start_response):
start_response('200 OK', [('Content-type','text/plain')])
yield 'body starts. You should see this in browser already'
yield 'some more of body'
, .
wsgi, . , Pylons.