Skip to content
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
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
@@ -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
Copy link
Member

@chancancode chancancode commented on 5690358 Jun 17, 2015

Choose a reason for hiding this comment

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

Please sign in to comment.