rack/rack — Issue #283: Please backport this commit to rack-1.2
Author: authorNari
Created: 2011-12-07 05:32:35+00:00
State: open

Hi.

https://github.com/rack/rack/commit/24855650f81382d42955b8d30cc9651117826a5f
Please backport this commit to rack-1.2.

In rack-1.2, Rack::Response don't have to_ary method.
But, the to_ary method is used this line https://github.com/rack/rack/blob/rack-1.2/lib/rack/content_length.rb#L19
So, Rack::ContentLength#call don't set Contet-Length header allways.

Thanks.