diff options
author | Santiago Pastorino <santiago@wyeworks.com> | 2011-10-18 16:14:38 -0200 |
---|---|---|
committer | Santiago Pastorino <santiago@wyeworks.com> | 2011-10-18 16:14:38 -0200 |
commit | d44702c830669e2647c073133bd6b09d7016424d (patch) | |
tree | 7ad0ead7f5a2797914dc2c1e4f5c765bb629aaf5 | |
parent | 7f184aaf4352140c7e3bd33761058bb05737e11b (diff) | |
download | rails-d44702c830669e2647c073133bd6b09d7016424d.tar.gz rails-d44702c830669e2647c073133bd6b09d7016424d.tar.bz2 rails-d44702c830669e2647c073133bd6b09d7016424d.zip |
Use again Rack's ContentLength middleware part 2
-rw-r--r-- | railties/lib/rails/commands/server.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/railties/lib/rails/commands/server.rb b/railties/lib/rails/commands/server.rb index 71e3711ba1..33f9ac017c 100644 --- a/railties/lib/rails/commands/server.rb +++ b/railties/lib/rails/commands/server.rb @@ -78,6 +78,7 @@ module Rails middlewares = [] middlewares << [Rails::Rack::LogTailer, log_path] unless options[:daemonize] middlewares << [Rails::Rack::Debugger] if options[:debugger] + middlewares << [Rack::ContentLength] Hash.new(middlewares) end |