@_etag is not used anywhere.

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

@ -43,7 +43,6 @@ def initialize(status = 200, header = {}, body = [])
@writer = lambda { |x| @body << x }
@block = nil
@length = 0
@_etag = nil
@status, @header = status, header
self.body = body
@ -141,7 +140,6 @@ 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