mirror of https://github.com/rails/rails
Use toplevel Rack::ContentLength
This commit is contained in:
parent
89a164ab9b
commit
3a746f7c48
|
@ -78,7 +78,7 @@ module Rails
|
||||||
middlewares = []
|
middlewares = []
|
||||||
middlewares << [Rails::Rack::LogTailer, log_path] unless options[:daemonize]
|
middlewares << [Rails::Rack::LogTailer, log_path] unless options[:daemonize]
|
||||||
middlewares << [Rails::Rack::Debugger] if options[:debugger]
|
middlewares << [Rails::Rack::Debugger] if options[:debugger]
|
||||||
middlewares << [Rack::ContentLength]
|
middlewares << [::Rack::ContentLength]
|
||||||
Hash.new(middlewares)
|
Hash.new(middlewares)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue