# File lib/action_dispatch/http/response.rb, line 161
    def write(str)
      str = str.to_s
      @writer.call str
      str
    end