-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
topdown: Make http.send() caching use full request
Previously it just used a string key with the method and url. This causes problems if headers or body contents affect the response, and users were seeing cached responses returned for different requests. The new version takes into account the entire parameters object that is provided to the builtin function. Fixes: #1980 Signed-off-by: Patrick East <east.patrick@gmail.com>
- Loading branch information
1 parent
d27d687
commit c6a587f
Showing
2 changed files
with
173 additions
and
27 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