-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
Description
In this commit released with 0.12.0: 129ad6e, the formatter middleware now returns a Rack::Response
and not an array.
From what I understand, this breaks Rack's conventions (and broke the middleware in my app).
Also, the docs for Rack::Response
clearly states that an app should return Rack::Response#finish
(aliased to #to_a
).
Any reason this has been done?
If not, I will be happy to provide a pull request that reverses the commit ;)