instance method
weak_etag=
Ruby on Rails edge
Since v5.0.7.2Signature
weak_etag=(weak_validators)
No documentation comment.
Parameters
-
weak_validatorsreq
Source
# File actionpack/lib/action_dispatch/http/cache.rb, line 233
def weak_etag=(weak_validators)
set_header "ETag", generate_weak_etag(weak_validators)
end
Defined in actionpack/lib/action_dispatch/http/cache.rb line 233
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionDispatch::Http::Cache::Response