3 ms·
IIRC Rack and WSGI and Ring all let you return lazy sequences for the body, allowing you to stream responses.
by pjscott 15y ago
IIRC 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...