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 << [Rails::Rack::LogTailer, log_path] unless options[:daemonize]
|
||||
middlewares << [Rails::Rack::Debugger] if options[:debugger]
|
||||
middlewares << [Rack::ContentLength]
|
||||
middlewares << [::Rack::ContentLength]
|
||||
Hash.new(middlewares)
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue