Hello.
QuixoteHandler (server/http_medusa.py) force any output to be a string
(qreq.response.set_body(str(output))). This means that a published object
cannot return a producer.
Why? Producers are very useful for returning huge objects, or objects
that are slowly calculated on the fly.
Though I have not tried it yet, I think it woyld be relatively easy to
modify server/http_medusa.py to allow output to be a producer (an object
with .more() method). I am going to try it. Will anyone be interested in my
patches?
Oleg.
--
Oleg Broytmann http://phd.pp.ru/ phd@phd.pp.ru
Programmers don't die, they just GOSUB without RETURN.