instance method
date=
Ruby on Rails 8.0.4
Since v4.0.13Signature
date=(utc_time)
No documentation comment.
Parameters
-
utc_timereq
Source
# File actionpack/lib/action_dispatch/http/cache.rb, line 95
def date=(utc_time)
set_header DATE, utc_time.httpdate
end
Defined in actionpack/lib/action_dispatch/http/cache.rb line 95
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionDispatch::Http::Cache::Response