3 ms·
I believe that's normally implemented as middleware on top of Rack et al. I assume it's expected that the same strategy would be used here.
by msbarnett 15y ago
I believe that's normally implemented as middleware on top of Rack et al.
I assume it's expected that the same strategy would be used here.
- pjscott 15y agoIIRC Rack and WSGI and Ring all let you return lazy sequences for the body, allowing you to stream responses.
- draegtun 15y agoPSGI/Plack also provides streaming responses by sending back a callback instead of the usual [$code, $headers, $body] array(ref). ref: http://bulknews.typepad.com/blog/2009/10/psgiplack-streaming-is-now-complete.html http://bulknews.typepad.com/blog/2009/10/psgiplack-streaming...