跳至内容 跳至搜索
方法
M

实例公共方法

make_response!(request)

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