Permalink
Browse files

@_etag is not used anywhere.

  • Loading branch information...
1 parent 14f9904 commit 392df0fc06a985e607c89c8a0090cb036adc5b7c @josevalim josevalim committed Sep 29, 2010
Showing with 0 additions and 2 deletions.
  1. +0 −2 actionpack/lib/action_dispatch/http/response.rb
@@ -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

0 comments on commit 392df0f

Please sign in to comment.