module ActionController::Live::ClassMethods
Public instance methods
Source code GitHub
# 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