class ActionDispatch::DebugExceptions

def log_rescued_responses?(request)

def log_rescued_responses?(request)
  request.get_header("action_dispatch.log_rescued_responses")
end