aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller/send_file_test.rb
Commit message (Expand)AuthorAgeFilesLines
* Update send_file headers test to use mp4 as example instead of mpgGuillermo Iguaran2017-11-281-1/+1
* Use frozen string literal in actionpack/Kir Shatrov2017-07-291-0/+2
* Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-021-1/+0
* Enforce frozen string in RubocopKir Shatrov2017-07-011-0/+1
* Define path with __dir__bogdanvlviv2017-05-231-1/+1
* Only default the response charset when it is first setMatthew Draper2016-12-201-1/+8
* Add more rubocop rules about whitespacesRafael Mendonça França2016-10-291-1/+1
* Add regression testsJon Moss2016-08-291-0/+14
* Add three new rubocop rulesRafael Mendonça França2016-08-161-1/+1
* Add `Style/EmptyLines` in `.rubocop.yml` and remove extra empty linesRyuta Kamizono2016-08-071-1/+0
* modernizes hash syntax in actionpackXavier Noria2016-08-061-17/+17
* applies new string literal convention in actionpack/testXavier Noria2016-08-061-34/+34
* Use `#performed?` to terminate controller callbacksJeff Kreeftmeijer2016-06-031-0/+15
* 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