Should not cache when only `Date` response header is passed in.
bofia opened this issue · comments
bofia commented
When passing in a response with just the Date
header set, the return value is:
reasons
: nil
expires
: time.Time{} (a zero value)
err
: nil
I would expect the reasons
to be something like ReasonResponseUncachableByDefault
since passing just a Date
header doesn't meet any caching spec