mirror of
https://github.com/redmine/redmine.git
synced 2026-07-04 17:47:48 +02:00
Adds Rack::ContentLength (#17403).
git-svn-id: http://svn.redmine.org/redmine/trunk@14632 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -54,6 +54,9 @@ module RedmineApp
|
||||
# and extracted to actionpack-xml_parser gem
|
||||
config.middleware.insert_after ActionDispatch::ParamsParser, ActionDispatch::XmlParamsParser
|
||||
|
||||
# Sets the Content-Length header on responses with fixed-length bodies
|
||||
config.middleware.use Rack::ContentLength
|
||||
|
||||
# Specific cache for search results, the default file store cache is not
|
||||
# a good option as it could grow fast. A memory store (32MB max) is used
|
||||
# as the default. If you're running multiple server processes, it's
|
||||
|
||||
Reference in New Issue
Block a user