Skip to content
This repository has been archived by the owner on Oct 3, 2023. It is now read-only.

Fix: only cache response if they have the same method & patch #95

Merged
merged 1 commit into from
Apr 18, 2019

Conversation

ThibaudAV
Copy link
Contributor

Currently the cache is based only on the path of the request

So, if during processing there are 2 calls with a different method the cache does not allow to have a different response

The changes add the method in the cache key

@webpro webpro merged commit 13d5fd4 into webpro:master Apr 18, 2019
@webpro
Copy link
Owner

webpro commented Apr 18, 2019

Thanks @ThibaudAV! Released this in v2.0.4

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

Successfully merging this pull request may close these issues.

2 participants