unbuffered html from external method
Is it possible to print unbuffered html output to the user from an external method. It looks to me like I can't, output occurs upon the return and I cant see a way of getting around that. (I have a very long running and expensive external method, I'd like to print out status to the user) TIA. -- Andy McKay, Developer. ActiveState.
[Andy McKay] | Is it possible to print unbuffered html output to the user from an external | method. It looks to me like I can't, output occurs upon the return and I | cant see a way of getting around that. Try hacking the BaseResponse, located in lib/python/ZPublisher. (implement the flush method, add some logic here and there to handle responses that are flushed). Or maybe just override the RESPONSE class, and use RESPONSE.stdout .. -Morten
participants (2)
-
Andy McKay -
morten@esol.no