This project is archived and is in readonly mode.

#3349 ✓resolved
Kouhei Sutou

[PATCH] re-enable send_file(path, :stream => true)

Reported by Kouhei Sutou | October 8th, 2009 @ 09:54 AM | in 3.0.2

3.0.pre disables send_file(path, :stream => true) temporary.
There is a comment in actionpack/lib/action_controller/metal/streaming.rb:
# TODO : Make render :text => proc {} work with the new base

The attached patch re-supports :text => proc {} and re-enables :stream => true option.

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href=""></a>