Closed arve0 closed 7 years ago
I have not grokked the tests, so maybe someone can help with that.
Hey! Thanks for looking into this bug and sending a patch! I haven't had time to figure out just what is going on yet, but just skimming, I'm afraid of this maybe just papering over a case-sensitivity but in https://npm.im/http-cache-semantics, which is likely where those comparisons are actually happening.
Yes, you are correct. Call stack is
CachePolicy._varyMatches(req)
CachePolicy._requestMatches(incomingReq, true)
CachePolicy.revalidationHeaders(_req)
makeFetchHappen.conditionalFetch(req, res, opts)
I'll open an issue on http-cache-semantics.
fixes issue #46