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