On Fri, Aug 22, 2003 at 06:47:41PM +0400, Oleg Broytmann wrote: > Ok, here are my patches, debugged, tested and attached. I forgot to explai the patch. Now an applicatio can return either a producer or an iterator (most probably, a generator). publisher.publish handle both cases by sucking all output. medusa_http, though, wrap an iterator (if it was an iterator) into a producer, and push the producer up to Medusa. Oleg. -- Oleg Broytmann http://phd.pp.ru/ phd@phd.pp.ru Programmers don't die, they just GOSUB without RETURN.