配置 Rails 项目默认的 middleware stack.
Rails.application.send(:default_middleware_stack)
Rack::Sendfile
ActionDispatch::Static
ActionDispatch::LoadInterlock
Rack::Runtime
Rack::MethodOverride
ActionDispatch::RequestId
Rails::Rack::Logger
ActionDispatch::ShowExceptions
ActionDispatch::DebugExceptions
ActionDispatch::RemoteIp
ActionDispatch::Reloader
ActionDispatch::Callbacks
ActionDispatch::Cookies
ActionDispatch::Session::CookieStore
ActionDispatch::Flash
Rack::Head
Rack::ConditionalGet
Rack::ETag