instance method
date
Ruby on Rails 5.0.7.2
Since v4.0.13Signature
date()
No documentation comment.
Source
# File actionpack/lib/action_dispatch/http/cache.rb, line 67
def date
if date_header = get_header(DATE)
Time.httpdate(date_header)
end
end
Defined in actionpack/lib/action_dispatch/http/cache.rb line 67
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionDispatch::Http::Cache::Response