Sergey Nartimov
|
cbb264e9fa
|
no need to dup options in send_data
options aren't modified inside send_file_headers!
|
2012-04-30 10:15:41 +03:00 |
|
Sergey Nartimov
|
9f64f20b8b
|
allow send_file/send_data to skip disposition header, closes #2973
|
2012-04-30 10:12:55 +03:00 |
|
Jeremy Kemper
|
5c51cd0b2f
|
#send_file leans on Rack::Sendfile to X-Accel-Redirect the file's path, so 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.
|
2012-04-12 09:53:00 -07:00 |
|
Jurriaan Pruis
|
2d8396fc9f
|
Updated/changed useless tr/gsubs
|
2012-04-03 15:16:09 +02:00 |
|
Vasiliy Ermolovich
|
a7ba8e1fb3
|
remove File#to_path alias
|
2011-12-25 22:22:22 +03:00 |
|
Akira Matsuda
|
4a025f0080
|
status is a number in Rails 3
|
2011-10-12 15:44:19 +09:00 |
|
Santiago Pastorino
|
8845ae683e
|
x_sendfile_header now defaults to nil and production.rb env file doesn't
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
|
2011-08-07 13:11:50 -03:00 |
|
Vishnu Atrai
|
525fd3ac86
|
TODO fix explicitly loading exceptations, autoload removed
|
2011-07-11 13:14:02 +05:30 |
|
Esad Hajdarevic
|
2a61d47b55
|
Make send_file guess content-type from file extension, if type wasn't supplied (Issue #1847). Update tests & documentation.
|
2011-06-28 06:58:28 +02:00 |
|
Sebastian Martinez
|
fcdb5dc557
|
Remove extra white spaces on ActionPack docs.
|
2011-05-23 20:22:33 -03:00 |
|
José Valim
|
7a152ab012
|
Rename it to DataStreaming.
|
2011-04-18 08:17:47 +02:00 |
|