class Rack::BodyProxy

def initialize(body, &block)

response has been fully sent.
Set the response body to wrap, and the block to call when the
def initialize(body, &block)
  @body = body
  @block = block
  @closed = false
end