Skip to content
This repository
Browse code

@_etag is not used anywhere.

  • Loading branch information...
commit 392df0fc06a985e607c89c8a0090cb036adc5b7c 1 parent 14f9904
José Valim authored September 29, 2010
2  actionpack/lib/action_dispatch/http/response.rb
@@ -43,7 +43,6 @@ def initialize(status = 200, header = {}, body = [])
43 43
         @writer = lambda { |x| @body << x }
44 44
         @block = nil
45 45
         @length = 0
46  
-        @_etag = nil
47 46
 
48 47
         @status, @header = status, header
49 48
         self.body = body
@@ -141,7 +140,6 @@ def to_a
141 140
       assign_default_content_type_and_charset!
142 141
       handle_conditional_get!
143 142
       self["Set-Cookie"] = self["Set-Cookie"].join("\n") if self["Set-Cookie"].respond_to?(:join)
144  
-      self["ETag"]       = @_etag if @_etag
145 143
       super
146 144
     end
147 145
 

0 notes on commit 392df0f

Please sign in to comment.
Something went wrong with that request. Please try again.