Flowdock
to_a() public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_dispatch/http/response.rb, line 179
    def to_a
      assign_default_content_type_and_charset!
      handle_conditional_get!

      @header["Set-Cookie"] = @header["Set-Cookie"].join("\n") if @header["Set-Cookie"].respond_to?(:join)

      if [204, 304].include?(@status)
        @header.delete "Content-Type"
        [@status, @header, []]
      else
        [@status, @header, self]
      end
    end
Register or log in to add new notes.