instance method
date
Ruby on Rails 8.0.4
Since v4.0.13Signature
date()
No documentation comment.
Source
# File actionpack/lib/action_dispatch/http/cache.rb, line 85
def date
if date_header = get_header(DATE)
Time.httpdate(date_header)
end
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