rails--rails/actionpack/lib
Carlhuda 5e2bd08023 Makes send_file work again by deferring to Rack::Sendfile.
* Add the Rack::Sendfile middleware
  * Make the header to use configurable via config.action_dispatch.x_sendfile_header (default to "X-Sendfile"). 
  * Add Railties tests to confirm that these work
  * Remove the :stream, :buffer_size, and :x_senfile default options to send_file
  * Change the log subscriber to always say "Sent file"
  * Add deprecation warnings for options that are now no-ops

Note that servers can configure this by setting X-Sendfile-Type. Hosting companies and those creating packages of servers specially designed for Rails applications are encouraged to specify this header so that this can work transparently.
2010-02-23 17:06:35 -08:00
..
abstract_controller Update AP to start locking down a public API. This work is parallel to some docs I'm working on. 2010-02-16 10:45:59 -08:00
action_controller Makes send_file work again by deferring to Rack::Sendfile. 2010-02-23 17:06:35 -08:00
action_dispatch Makes send_file work again by deferring to Rack::Sendfile. 2010-02-23 17:06:35 -08:00
action_pack Fix tiny version number from '3.0.0beta' to '3.0.0.beta1', so 'rake install' will be run correctly [#3879 status:resolved] 2010-02-06 15:51:44 +01:00
action_view Rename erubis_implementation to erb_implementation. 2010-02-22 13:58:29 +01:00
abstract_controller.rb Fix some backward incompatible behavior on AM. 2010-01-30 16:35:22 +01:00
action_controller.rb ActionMailer should depend just on AbstractController. 2010-01-29 17:51:05 +01:00
action_dispatch.rb Updating copyright dates on all licenses 2010-02-01 10:10:53 +11:00
action_pack.rb Updating copyright dates on all licenses 2010-02-01 10:10:53 +11:00
action_view.rb Merge branch 'master' of git://github.com/rails/rails 2010-02-02 10:51:19 +11:00