rails/rails — comment on commit 146a5305d56b636d2fd2c2a09a58f5f3edc2d9c0
File: actionpack/lib/action_dispatch/http/request.rb line 34
By GerryG:

I would not get rid of it. I found it because I'm trying to implement part of our app in middleware, and I need to be able to get the same request in another middleware from the env. When I saw this code, I thought, good it is doing what I need, but then I realized it was broken.

How can it ever be used if it is broken?