Open bofia opened 3 years ago
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
Date
reasons
expires
err
I would expect the reasons to be something like ReasonResponseUncachableByDefault since passing just a Date header doesn't meet any caching spec
ReasonResponseUncachableByDefault
When passing in a response with just the
Date
header set, the return value is:reasons
: nilexpires
: time.Time{} (a zero value)err
: nilI would expect the
reasons
to be something likeReasonResponseUncachableByDefault
since passing just aDate
header doesn't meet any caching spec