Skip to content

Commit

Permalink
Use again Rack's ContentLength middleware
Browse files Browse the repository at this point in the history
  • Loading branch information
spastorino committed Oct 18, 2011
1 parent 71325bb commit 7f184aa
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 40 deletions.
1 change: 0 additions & 1 deletion railties/lib/rails/commands/server.rb
Expand Up @@ -78,7 +78,6 @@ def middleware
middlewares = []
middlewares << [Rails::Rack::LogTailer, log_path] unless options[:daemonize]
middlewares << [Rails::Rack::Debugger] if options[:debugger]
middlewares << [Rails::Rack::ContentLength]
Hash.new(middlewares)
end

Expand Down
1 change: 0 additions & 1 deletion railties/lib/rails/rack.rb
@@ -1,6 +1,5 @@
module Rails
module Rack
autoload :ContentLength, "rails/rack/content_length"
autoload :Debugger, "rails/rack/debugger"
autoload :Logger, "rails/rack/logger"
autoload :LogTailer, "rails/rack/log_tailer"
Expand Down
38 changes: 0 additions & 38 deletions railties/lib/rails/rack/content_length.rb

This file was deleted.

1 comment on commit 7f184aa

@spastorino
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I forgot to replace it with Rack::ContentLength :(, done here d44702c

Please sign in to comment.