Backports the :params, :headers and :env options introduced in Rails 5 to older versions of Rails.
>= 0
Pierre Schambacher