[Web-SIG] Emulating req.write() in WSGI

Graham Dumpleton graham.dumpleton at gmail.com
Tue Jun 29 00:57:31 CEST 2010

On 29 June 2010 08:41, P.J. Eby <pje at telecommunity.com> wrote:
> At 03:43 PM 6/28/2010 -0600, Aaron Fransen wrote:
>> Using mod_wsgi on Apache doesn't seem to exhibit that behavior.
> You may need "WSGIOutputBuffering Off" in your config; see:
> http://code.google.com/p/modwsgi/wiki/ConfigurationDirectives#WSGIOutputBuffering
> Another possibility is that you've got some middleware or something else
> buffering between your app and mod_wsgi, I suppose.

Actually, that directive doesn't exist any more, plus the default even
when it was was unbuffered. I have removed it from the documentation.

If they are experiencing delays when using write() then possibly that
have an Apache output filter installed which is buffering up response
content and delaying it. For example, CONTENT_LENGTH of DEFLATE output

In other words, mod_wsgi doesn't delay it.


More information about the Web-SIG mailing list