aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/metal/data_streaming.rb
Commit message (Collapse)AuthorAgeFilesLines
* #send_file leans on Rack::Sendfile to X-Accel-Redirect the file's path, so ↵Jeremy Kemper2012-04-121-1/+21
| | | | opening the file to set the response body is wasteful. Set a FileBody wrapper instead that responds to to_path and streams the file if needed.
* Updated/changed useless tr/gsubsJurriaan Pruis2012-04-031-1/+1
|
* remove File#to_path aliasVasiliy Ermolovich2011-12-251-2/+1
|
* status is a number in Rails 3Akira Matsuda2011-10-121-2/+2
|
* x_sendfile_header now defaults to nil and production.rb env file doesn'tSantiago Pastorino2011-08-071-1/+1
| | | | | | | set a particular value for it. This allows servers to set it through X-Sendfile-Type, read https://github.com/rack/rack/blob/master/lib/rack/sendfile.rb for more info. Anyways you can force this value in your production.rb
* TODO fix explicitly loading exceptations, autoload removedVishnu Atrai2011-07-111-0/+1
|
* Make send_file guess content-type from file extension, if type wasn't ↵Esad Hajdarevic2011-06-281-2/+13
| | | | supplied (Issue #1847). Update tests & documentation.
* Remove extra white spaces on ActionPack docs.Sebastian Martinez2011-05-231-3/+3
|
* Rename it to DataStreaming.José Valim2011-04-181-0/+145