aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch/middleware/static.rb
Commit message (Expand)AuthorAgeFilesLines
* Use already defined Encoding constant rather than freezing a StringAkira Matsuda2017-01-111-1/+1
* Remove deprecated `cache_control` argument from `ActionDispatch::Static#initi...Rafael Mendonça França2016-10-101-8/+1
* applies new string literal convention in actionpack/libXavier Noria2016-08-061-12/+12
* Don't raise ActionController::UnknownHttpMethod from ActionDispatch::StaticGrey Baker2016-07-131-3/+3
* use Rack::Utils.valid_path? to check pathJordan Owens2016-05-091-6/+2
* Revert "Its ideal to set Vary: Accept-Encoding, irrespective of whether gzipp...schneems2016-01-191-1/+1
* Its ideal to set Vary: Accept-Encoding, irrespective of whether gzipped versi...Vipul A M2016-01-191-1/+1
* Prevent attempt to serve a request with a null byteJordan Owens2016-01-121-1/+5
* remove unnecessary @compiled_root from static.rbdaisuko2015-11-111-1/+0
* Merge pull request #19135 from yuki24/access-control-supportJeremy Daer2015-10-131-8/+14
|\
| * Add the ability of returning arbitrary headers to ActionDispatch::StaticYuki Nishijima2015-06-131-8/+14
* | use `Rack::Utils.unescape_path` to unescape pathsAaron Patterson2015-09-041-3/+3
* | reuse the request object in the File serving middlewareAaron Patterson2015-08-061-9/+13
* | use a request object to reduce string allocations and not know about ENV keysAaron Patterson2015-08-061-6/+7
* | Freeze string literals when not mutated.schneems2015-07-191-3/+3
|/
* Change the `index` arg of `ActionDispatch::Static#new` to a kwargYuki Nishijima2015-06-111-4/+3
* Fix regression in #20017: wrong number of arguments errorJon Atack2015-05-301-3/+3
* config.static_index configures directory index "index.html" filenameEliot Sykes2015-05-281-4/+5
* Tiny documentation edits [ci skip]Robin Dupret2015-05-041-1/+1
* [ci skip] Add, clean up docs in ActionDispatch ActionDispatch middlewareNick Cox2015-04-221-6/+13
* [Rails4 regression] prevent thin and puma cause error in Non ASCII URL on Win...Toshi MARUYAMA2015-04-091-1/+1
* Also skip Content-Encoding and Vary header if 304Kohei Suzuki2015-03-121-3/+4
* 304 response should not include Content-Type headerKohei Suzuki2015-03-101-1/+3
* Reduce the number of times `#clean_path_info` is calledeileencodes2015-02-181-3/+2
* FileHandler should not be called for files outside the rootAaron Patterson2014-10-101-2/+12
* Refactor out Dir.glob from ActionDispatch::Staticschneems2014-08-271-20/+5
* Address comments on Gzip implementationschneems2014-08-241-10/+19
* Enable gzip compression by defaultschneems2014-08-201-14/+40
* [ci skip] Document ActionDispatch::Staticschneems2014-08-051-0/+9
* [ci skip] document ActionDispatch::FileHandlerschneems2014-08-051-0/+10
* Fix Encoding::CompatibilityError when public path is UTF-8Andrew White2013-12-291-3/+3
* Fix regression introduced in pull request 8812Sam Ruby2013-01-111-1/+2
* Eliminate Rack::File headers deprecation warningSam Ruby2013-01-081-1/+1
* Revert "Invert precedence of content in ActionDispatch::Static"Andrew White2012-12-071-11/+7
* Invert precedence of content in ActionDispatch::StaticAndrew White2012-12-061-7/+11
* rename page_cache_extension option to default_static_extensionFrancesco Rodriguez2012-10-031-1/+1
* fix ArgumentError being raised in case of invalid byte sequencesMichael Reinsch2012-03-081-0/+1
* Simplify regexpAndrew White2012-02-171-1/+1
* Fix ActionDispatch::Static to serve files with unencoded PCHARAndrew White2012-02-171-1/+10
* escape static file path to prevent double unescapingSergey Nartimov2012-02-161-1/+1
* cache strings in the AST for faster comparison than include?Aaron Patterson2011-05-031-6/+3
* Static middleware accepts cache control.José Valim2011-05-031-4/+4
* Make static faster as we don't have to serve multiple paths anymore.José Valim2011-04-151-28/+15
* initialize ivarsAaron Patterson2011-03-011-1/+1
* Revert "compute ext in initialize, and use an attr_reader"Aaron Patterson2011-02-281-5/+7
* no need to pass a regex to Regexp.compileAaron Patterson2011-02-281-4/+4
* compute ext in initialize, and use an attr_readerAaron Patterson2011-02-281-7/+5
* Ensure the proper content type is returned for static files.José Valim2010-10-041-3/+3
* Avoid (@_var ||= nil) pattern by using initialize methods and ensuring everyo...José Valim2010-09-291-2/+1
* Initialize @compiled_at if it is not.Emilio Tagua2010-09-281-0/+1