Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow cacheKeyWillBeUsed to influence the request method check (#2616)
* Fixes #2615 by allowing developers to cache post requests by returning a get request cache key from cacheKeyWillBeUsed. * Validate effectiveRequest instead of the original request.
- Loading branch information
1 parent
c1610d0
commit 6d38919
Showing
2 changed files
with
67 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters