hello. what's the difference between the `headers` method that's available in a controller and request.headers? I can see that the former returns a hash, and the latter returns a different object with much more information, but when i make a request, i'm seeing that request headers are not available in the `headers` method
i tried looking around in source, but couldn't find the right place with these methods
is there a way to insert a key at an index in an ActiveSupport::OrderedHash ?
Radar, we're using an ordered hash right now and then blacklisting a few keys based on the current user. We want to change to whitelisting the keys that are allowed, but if the insertion order is preserved it becomes difficult to add certain keys in at the right places