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

2010-06-28 Thread Aaron Fransen
One of the nice things about mod_python is the req.write() function. Although I realize it's somewhat of an abuse to the http protocol, it's handy being able to periodically update the client browser with a status message for a long-running job. So handy in fact that I have a number of

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

2010-06-28 Thread Gustavo Narea
http://pythonpaste.org/waitforit/ HTH. - Gustavo. Aaron said: One of the nice things about mod_python is the req.write() function. Although I realize it's somewhat of an abuse to the http protocol, it's handy being able to periodically update the client browser with a status message for

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

2010-06-28 Thread P.J. Eby
At 01:01 PM 6/28/2010 -0600, Aaron Fransen wrote: One of the nice things about mod_python is the req.write() function. Although I realize it's somewhat of an abuse to the http protocol, it's handy being able to periodically update the client browser with a status message for a long-running

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

2010-06-28 Thread Aaron Fransen
On Mon, Jun 28, 2010 at 3:11 PM, P.J. Eby p...@telecommunity.com wrote: At 01:01 PM 6/28/2010 -0600, Aaron Fransen wrote: One of the nice things about mod_python is the req.write() function. Although I realize it's somewhat of an abuse to the http protocol, it's handy being able to

[Web-SIG] WSGI get-together during EuroPython?

2010-06-28 Thread Gustavo Narea
Hello, Sorry for this slightly off-topic message, but I was thinking it'd be nice to meet other people interested in WSGI at EuroPython. I don't have anything specific in mind. Probably share some beers. I'm open to suggestions. I'll be in Birmingham on the 17th and 20th of July; Saturday and

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

2010-06-28 Thread P.J. Eby
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

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

2010-06-28 Thread Graham Dumpleton
On 29 June 2010 05:01, Aaron Fransen aaron.fran...@gmail.com wrote: One of the nice things about mod_python is the req.write() function. One thing I should warn you about req.write() in Apache is that for streaming data as you seem to be using it, it will accumulate memory against a request for