From 56903585a099ab67a7acfaaef0a02db8fe80c450 Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Wed, 17 Jun 2015 16:18:43 -0700 Subject: Remove ContentLength middleware from the defaults. ContentLength is not part of the rack SPEC since rack/rack@86ddc7a6ec68d7b6951c2dbd07947c4254e8bc0d If you want it, just add it as a middleware in your config. --- railties/lib/rails/commands/server.rb | 1 - 1 file changed, 1 deletion(-) (limited to 'railties/lib/rails/commands') diff --git a/railties/lib/rails/commands/server.rb b/railties/lib/rails/commands/server.rb index 546d3725d8..c1bd4072ac 100644 --- a/railties/lib/rails/commands/server.rb +++ b/railties/lib/rails/commands/server.rb @@ -78,7 +78,6 @@ module Rails def middleware middlewares = [] - middlewares << [::Rack::ContentLength] # FIXME: add Rack::Lock in the case people are using webrick. # This is to remain backwards compatible for those who are -- cgit v1.2.3