Skip to content

Commit 5690358

Browse files
committed
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.
1 parent ffba8f7 commit 5690358

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

railties/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
* Remove ContentLength middleware from the defaults. If you want it, just
2+
add it as a middleware in your config.
3+
4+
*Egg McMuffin*
5+
16
* Make it possible to customize the executable inside rerun snippets.
27

38
*Yves Senn*

railties/lib/rails/commands/server.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@ def start
7878

7979
def middleware
8080
middlewares = []
81-
middlewares << [::Rack::ContentLength]
8281

8382
# FIXME: add Rack::Lock in the case people are using webrick.
8483
# This is to remain backwards compatible for those who are

0 commit comments

Comments
 (0)