Remove ContentLength middleware from the defaults.
ContentLength is not part of the rack SPEC since rack/rack@86ddc7a6ec If you want it, just add it as a middleware in your config.
This commit is contained in:
parent
ffba8f79a2
commit
56903585a0
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user