method
to_a
v3.0.0 -
Show latest stable
- Class:
ActionDispatch::Response
to_a()public
No documentation available.
# File actionpack/lib/action_dispatch/http/response.rb, line 140
def to_a
assign_default_content_type_and_charset!
handle_conditional_get!
self["Set-Cookie"] = self["Set-Cookie"].join("\n") if self["Set-Cookie"].respond_to?(:join)
self["ETag"] = @_etag if @_etag
super
end