module Roda::RodaPlugins::Caching::RequestMethods

def time_from_header(t)

time as an integer.
Helper method parsing a time value from an HTTP header, returning the
def time_from_header(t)
  Time.httpdate(t).to_i if t
rescue ArgumentError
end