Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
It was added in 66f8997 to be compatible with Rack::ContentLength. However, to_ary was removed from Rack::Response in 2.1.0, and Rack::ContentLength stopped checking for response bodies to define to_ary in 2.2.0. In addition, Rack 3 will eventually require response bodies that define to_ary to have a proper return value. Since the minimum supported Rack version is already 2.2.0, to_ary can be safely removed now.
- Loading branch information