Methods

Instance Public methods

make_response!(request)

📝 Source code
# File actionpack/lib/action_controller/metal/live.rb, line 60
def make_response!(request)
  if (request.get_header("SERVER_PROTOCOL") || request.get_header("HTTP_VERSION")) == "HTTP/1.0"
    super
  else
    Live::Response.new.tap do |res|
      res.request = request
    end
  end
end
🔎 See on GitHub