Permalink
Browse files

Remove ContentLength middleware from the defaults.

ContentLength is not part of the rack SPEC since rack/rack@86ddc7a
If you want it, just add it as a middleware in your config.
  • Loading branch information...
tenderlove committed Jun 17, 2015
1 parent ffba8f7 commit 56903585a099ab67a7acfaaef0a02db8fe80c450
Showing with 5 additions and 1 deletion.
  1. +5 −0 railties/CHANGELOG.md
  2. +0 −1 railties/lib/rails/commands/server.rb
View
@@ -1,3 +1,8 @@
+* Remove ContentLength middleware from the defaults. If you want it, just
+ add it as a middleware in your config.
+
+ *Egg McMuffin*
+
* Make it possible to customize the executable inside rerun snippets.
*Yves Senn*
@@ -78,7 +78,6 @@ def start
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

1 comment on commit 5690358

@chancancode

This comment has been minimized.

Show comment
Hide comment
Member

chancancode commented on 5690358 Jun 17, 2015

Please sign in to comment.