aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/metal/data_streaming.rb
Commit message (Collapse)AuthorAgeFilesLines
* move file sending to the response objectAaron Patterson2015-10-051-25/+1
| | | | | | | Just a slight refactor that delegates file sending to the response object. This gives us the advantage that if a webserver (in the future) provides a response object that knows how to do accelerated file serving, it can implement this method.
* Revert "this always sets :public to false, so just do that"Aaron Patterson2015-08-271-1/+1
| | | | | | This reverts commit cae2b5bb59212961c4a35c939381ebece48d1177. I am an idiot.
* this always sets :public to false, so just do thatAaron Patterson2015-08-271-1/+1
|
* Stop using deprecated `render :text` in testPrem Sichanugrist2015-07-171-1/+1
| | | | | | | | | This will silence deprecation warnings. Most of the test can be changed from `render :text` to render `:plain` or `render :body` right away. However, there are some tests that needed to be fixed by hand as they actually assert the default Content-Type returned from `render :body`.
* move buffer caching on to the bufferAaron Patterson2015-07-131-0/+4
|
* Update Docs in favor to use render plain instead of text optionrobertomiranda2014-02-181-1/+1
| | | | ref #14062
* Accept symbols as #send_data :disposition valueElia Schito2012-11-271-0/+1
|
* Multiple changes to 1,9 hash syntaxAvnerCohen2012-10-271-5/+5
|
* Minor language fix. [ci skip]Erich Menge2012-08-151-2/+2
|
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-05-011-1/+1
|\
| * Code-format references to config settingsMark Rushakoff2012-04-271-1/+1
| |
* | no need to dup options in send_dataSergey Nartimov2012-04-301-1/+1
| | | | | | | | options aren't modified inside send_file_headers!
* | allow send_file/send_data to skip disposition header, closes #2973Sergey Nartimov2012-04-301-17/+11
|/
* #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