On Thu, Aug 21, 2003 at 11:45:16AM -0400, Graham Fawcett wrote: > if hasattr(output, '__iter__'): if hasattr(output, 'next'), of course :) Ok, here are my patches, debugged, tested and attached. There is a patch for server/medusa_http.py and for publish.py. SCGI does not require patching as it uses publsiher.publish() (which I patched). If the patches will be accepted I am going to contact the authot of SCGI-CGI to patch his demo handler. Twisted left as an exercise for the more skilled (in Twised :) Oleg. -- Oleg Broytmann http://phd.pp.ru/ phd@phd.pp.ru Programmers don't die, they just GOSUB without RETURN.