class ActionController::Live::Response

:nodoc: all

def before_committed

def before_committed
  super
  jar = request.cookie_jar
  # The response can be committed multiple times
  jar.write self unless committed?
end

def build_buffer(response, body)

def build_buffer(response, body)
  buf = Live::Buffer.new response
  body.each { |part| buf.write part }
  buf
end