Ruby on Rails 5.2.1
Module
ActionDispatch::Http::FilterRedirect
actionpack/lib/action_dispatch/http/filter_redirect.rb