@_etag is not used anywhere.

This commit is contained in:
José Valim
2010-09-29 11:19:22 +02:00
parent 14f9904e0f
commit 392df0fc06

View File

@@ -43,7 +43,6 @@ module ActionDispatch # :nodoc:
@writer = lambda { |x| @body << x }
@block = nil
@length = 0
@_etag = nil
@status, @header = status, header
self.body = body
@@ -141,7 +140,6 @@ module ActionDispatch # :nodoc:
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