@@ -54,6 +54,9 module RedmineApp | |||||
54 | # and extracted to actionpack-xml_parser gem |
|
54 | # and extracted to actionpack-xml_parser gem | |
55 | config.middleware.insert_after ActionDispatch::ParamsParser, ActionDispatch::XmlParamsParser |
|
55 | config.middleware.insert_after ActionDispatch::ParamsParser, ActionDispatch::XmlParamsParser | |
56 |
|
56 | |||
|
57 | # Sets the Content-Length header on responses with fixed-length bodies | |||
|
58 | config.middleware.use Rack::ContentLength | |||
|
59 | ||||
57 | # Specific cache for search results, the default file store cache is not |
|
60 | # Specific cache for search results, the default file store cache is not | |
58 | # a good option as it could grow fast. A memory store (32MB max) is used |
|
61 | # a good option as it could grow fast. A memory store (32MB max) is used | |
59 | # as the default. If you're running multiple server processes, it's |
|
62 | # as the default. If you're running multiple server processes, it's |
General Comments 0
You need to be logged in to leave comments.
Login now