> I think Chris specifically wanted to override new, as opposed to making a new
> builder, for BC-related reasons.
>
> -- Yehuda
Yep. Also we can move the Request-internal caches (form_vars etc) to
instance variables then.
--
Christian Neukirchen <chneuk...@gmail.com> http://chneukirchen.org
--
Joshua Peek
--
Joshua Peek
--
stadik.net
> Correction, the to_yaml is called on the environment variable directly on not
> on the Rack::Request object so it's not to be helped that the content length is
> slightly longer.
>
> I've updated the test with the new length.
Obviously that test "tests too much". Your fix is okay.
Applied.
Isn't env['r'] ||= super(env) more succinct?
Regards,
Christoffer Sawicki