instance method
etag=
Ruby on Rails 4.2.9
Since v3.0.20Signature
etag=(etag)
No documentation comment.
Parameters
-
etagreq
Source
# File actionpack/lib/action_dispatch/http/cache.rb, line 85
def etag=(etag)
key = ActiveSupport::Cache.expand_cache_key(etag)
@etag = self[ETAG] = %("#{Digest::MD5.hexdigest(key)}")
end
Defined in actionpack/lib/action_dispatch/http/cache.rb line 85
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionDispatch::Http::Cache::Response