durusmail: quixote-users: Re: Medusa producers
Medusa producers
2003-08-21
Re: Medusa producers
2003-08-21
2003-08-21
2003-08-21
2003-08-21
2003-08-22
2003-08-22
2003-08-22
2003-08-22
2003-08-22
2003-08-22
response streams [Was: Medusa producers]
response streams
2003-08-27
Re: response streams [Was: Medusa producers]
2003-08-28
Re: Medusa producers
Oleg Broytmann
2003-08-22
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.
reply