Open paneq opened 12 years ago
https://groups.google.com/forum/?fromgroups=#!topic/rubyonrails-core/j5F0LchIaX8
It is problematic for some servers and probably does not work correctly right now
buffer = "" body.each { |part| buffer << part } return Response.new(status, headers, buffer)
We could check the Transfer-Encoding header for chunked value and send every chunk separately to m2 (and probably an empty one at the end).
Transfer-Encoding
chunked
Or we could just deliver every part to m2 as separate ZMQ message.
https://groups.google.com/forum/?fromgroups=#!topic/rubyonrails-core/j5F0LchIaX8
It is problematic for some servers and probably does not work correctly right now
We could check the
Transfer-Encoding
header forchunked
value and send every chunk separately to m2 (and probably an empty one at the end).