method

new

new(status = 200, header = {}, body = [])
public

No documentation available.

# File actionpack/lib/action_dispatch/http/response.rb, line 164
    def initialize(status = 200, header = {}, body = [])
      super()

      @header = Header.new(self, header)

      self.body, self.status = body, status

      @cv           = new_cond
      @committed    = false
      @sending      = false
      @sent         = false

      prepare_cache_control!

      yield self if block_given?
    end