I'm using webob, and it indeeds support it, because you can pass the
Response instance with a app_iter parameter, and the app_iter instance
can also has "close()" function, and in Response process, it'll call
close() if need. I think it's important for return static file contect
in trunks, because the server should close the file.

And I checked the werkzeug source code, and there is a
SharedDataMiddleware, I think it's great, but I can just see the code
will only read the stream only once, and the return value is also
[data], so I think it's not support what I want? Am I right? And if it
doesn't support, is there a plan to support it?

-- 
I like python!
UliPad <<The Python Editor>>: http://code.google.com/p/ulipad/
UliWeb <<simple web framework>>: http://uliwebproject.appspot.com
My Blog: (new)http://http://hi.baidu.com/limodou
(old)http://www.donews.net/limodou

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pocoo-libs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/pocoo-libs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to