def setup_controller(controller, env, vars)
      controller.env = env
      controller.headers = {}

      setup_controller_params(controller, env, vars)

      controller.cookies = Fastr::HTTP.parse_cookies(env)
      controller.app = self
    end
def setup_controller(controller, env, vars)
      controller.env = env
      controller.headers = {}

      setup_controller_params(controller, env, vars)

      controller.cookies = Fastr::HTTP.parse_cookies(env)
      controller.app = self
    end
Sets up a controller for a request.