aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller/send_file_test.rb
Commit message (Expand)AuthorAgeFilesLines
* Use `Mime[:foo]` instead of `Mime::Type[:FOO]` for back compatJeremy Daer2015-10-061-2/+2
* move file sending to the response objectAaron Patterson2015-10-051-1/+1
* stop directly setting headers on the controllerAaron Patterson2015-09-231-9/+1
* test against controller responsesAaron Patterson2015-09-231-52/+65
* stop calling deprecated methodsAaron Patterson2015-09-211-2/+2
* Added test for `send_file_headers` called with nil content typeRonak Jangir2015-09-191-1/+12
* let the superclass build the request and responseAaron Patterson2015-07-081-2/+0
* Removed magic comments # encoding: utf-8 , since its default from ruby 2.0 on...Vipul A M2015-02-031-1/+0
* Prevent state leak.Guo Xiang Tan2014-06-051-0/+1
* Mime::PNG is already defined.Zuhao Wan2014-06-051-6/+0
* Unregister Mime::Type in teardown.Zuhao Wan2014-05-281-2/+6
* Remove redundant tests method.Guo Xiang Tan2014-05-111-2/+0
* Remove tests method for test cases when controller can be inferred.Guo Xiang2014-05-031-1/+0
* Merge branch 'master' into laurocaetano-fix_send_fileAaron Patterson2014-01-101-1/+1
|\
| * Move the null mime type to request.formatCarlos Antonio da Silva2013-12-231-1/+1
* | Fix stream closing when sending file with `ActionController::Live` included.Lauro Caetano2013-11-301-0/+14
|/
* return Mime::NullType if format is unknownAngelo Capilleri2012-12-221-1/+1
* Accept symbols as #send_data :disposition valueElia Schito2012-11-271-0/+12
* cleanup, remove trailing whitespace within actionpackYves Senn2012-10-271-1/+1
* flushing output should write to the stream rather than mutating the response ...Aaron Patterson2012-07-291-3/+3
* allow send_file/send_data to skip disposition header, closes #2973Sergey Nartimov2012-04-301-0/+11
* Remove unused methodSantiago Pastorino2012-03-121-4/+0
* remove checks for encodings availabilitySergey Nartimov2011-12-251-1/+1
* Make send_file guess content-type from file extension, if type wasn't supplie...Esad Hajdarevic2011-06-281-0/+19
* Use assert_respond_to because it has better error messagingNeeraj Singh2010-05-181-2/+2
* Action Pack: fix tests with -K*, work around Ruby 1.9.1 constant lookup.Cezary Baginski2010-04-251-2/+2
* Makes send_file work again by deferring to Rack::Sendfile. Carlhuda2010-02-231-23/+0
* Fix streaming by having it create a File object, which can be handled by Rack...Carlhuda2010-02-231-3/+11
* Fix a bunch of pending tests by providing an introspection mode for the Respo...Carlhuda2010-02-191-2/+1
* Reinstate pending tests that were supposed to be fixed before theJoshua Peek2010-02-191-13/+11
* Update cache_control to be a Hash of options that is used to build the header.Yehuda Katz2009-08-021-1/+1
* Ruby 1.9: fix encoding for test_file_streamJeremy Kemper2009-08-011-1/+2
* Ruby 1.9: fix Content-Length for multibyte send_data streamingSava Chankov2009-08-011-0/+12
* send_data should set Content-Length as a stringJoshua Peek2009-06-251-1/+1
* Cleaning up more tests and code that needed to work in both old and new baseYehuda Katz + Carl Lerche2009-06-171-2/+2
* Finish making things pass with updated internal content_type semanticsYehuda Katz + Carl Lerche2009-06-151-6/+4
* Add HTTP Authentication to the new basePratik Naik2009-05-221-4/+9
* Add Streaming to new basePratik Naik2009-05-211-11/+13
* Functional test runner finalizes response just like the integration test runn...Joshua Peek2009-05-021-4/+4
* Bring abstract_controller up to date with rails/masterCarl Lerche & Yehuda Katz2009-04-131-3/+3
|\
| * Return body parts directly to Rack rather than building a response string our...Jeremy Kemper2009-03-121-2/+2
| * Ruby 1.9 compat: rename deprecated assert_raises to assert_raise.Jeremy Kemper2009-03-081-1/+1
* | Reorganize ActionController folder structureJoshua Peek2009-01-271-1/+1
|/
* Include process methods in ActionController::TestCase only. No need to alias_...Jeremy Kemper2009-01-071-1/+2
* Allow use of symbols for :type option of ActionController::Streaming#send_fil...=?utf-8?q?Adam=20Cig=C3=A1nek?=2008-12-211-0/+25
* Use status response accessor instead of the 'Status' headerJoshua Peek2008-12-191-2/+2
* Do not output an ETag header if response body is blank or when sending files ...Hongli Lai (Phusion2008-12-161-0/+1
* Set global ActionController::Base.view_paths for test casesJoshua Peek2008-07-121-2/+0
* Set precompiled fixture load path constant to speed up testsJoshua Peek2008-06-251-3/+1
* Introduce send_file :x_sendfile => true to send an X-Sendfile response header.Jeremy Kemper2008-01-111-2/+13