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