are there any python web framework support "flush"?
in php there is a flush
function, which is used to push content to client, meanwhile keep current connection.
i look into flask, didn't found any function like it. ar开发者_运维技巧e there any python web framework support flush ?
ps: the reason to use flush is to implement comet through iframe stream, though ajax long poll can do the same thing.
Take a look at Streaming Contents
精彩评论