diff options
author | José Valim <jose.valim@gmail.com> | 2010-09-29 11:19:22 +0200 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-09-29 11:19:22 +0200 |
commit | 392df0fc06a985e607c89c8a0090cb036adc5b7c (patch) | |
tree | 4b7c35692ff60b648a52a436beff2c05a0f5d5bc /actionpack/lib/action_dispatch/http/response.rb | |
parent | 14f9904e0fc6d8a1e5627ac64c4b5b14e95177c5 (diff) | |
download | rails-392df0fc06a985e607c89c8a0090cb036adc5b7c.tar.gz rails-392df0fc06a985e607c89c8a0090cb036adc5b7c.tar.bz2 rails-392df0fc06a985e607c89c8a0090cb036adc5b7c.zip |
@_etag is not used anywhere.
Diffstat (limited to 'actionpack/lib/action_dispatch/http/response.rb')
-rw-r--r-- | actionpack/lib/action_dispatch/http/response.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/actionpack/lib/action_dispatch/http/response.rb b/actionpack/lib/action_dispatch/http/response.rb index a5d082c6a2..151c90167b 100644 --- a/actionpack/lib/action_dispatch/http/response.rb +++ b/actionpack/lib/action_dispatch/http/response.rb @@ -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 |