Skip to content

Should not cache when only Date response header is passed in. #21

Description

@bofia

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions