class Rack::Response
def write(chunk)
NOTE: Do not mix #write and direct #body access!
Append to body and update content-length.
def write(chunk) buffered_body! @writer.call(chunk.to_s) end
def write(chunk) buffered_body! @writer.call(chunk.to_s) end