One of the nice things about mod_python is the req.write() function.<br><br>Although I realize it&#39;s somewhat of an abuse to the http protocol, it&#39;s handy being able to periodically update the client browser with a status message for a long-running job.<br>
<br>So handy in fact that I have a number of applications that rely fairly heavily on it as a means of keeping the client (person) happy instead of just showing them the default &quot;browser busy&quot; notification.<br><br>
There are a couple of workarounds, neither of which are ideal:<br>1. Take them immediately to a secondary page, then submit the actual job automatically on that second page.<br>2. Instead of using HTTP POST, use an HTTP Request Object (ie. Ajax).<br>
<br>Both of them involve significantly more development effort than an equivalent req.write().<br><br>Is there a way to emulate the periodic-write functionality in WSGI?<br>