Skip to content
This repository has been archived by the owner on Jun 27, 2022. It is now read-only.

Handle the fact that isFresh() may return null #70

Closed
wants to merge 3 commits into from

Conversation

jkodumal
Copy link

@jkodumal jkodumal commented Dec 8, 2015

I'm not sure if this project is still being maintained, but I suspect guzzle3 is still the only choice out there for people using PHP v5.3.

The issue here is that isFresh returns either a boolean or null, so checking for false is not sufficient. This causes guzzle to erroneously cache responses-- in my case we have Cache-Control: max-age=0 and Age: 0 being specified on responses, and guzzle is choosing to cache.

@GrahamCampbell
Copy link
Member

Thanks for the PR, but I'm going to close this since this repo has been EOL for a while now.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants