branch: elpa/hyperdrive
commit 499a591d4b1862fe2636d985b1c4fde66ea0245e
Author: Joseph Turner <[email protected]>
Commit: Joseph Turner <[email protected]>
Change: (h/clear-cache) Use POST instead of DELETE to clear cache
hyper-gateway-ushin v3.9.2 uses POST instead of DELETE.
---
hyperdrive.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hyperdrive.el b/hyperdrive.el
index 76d9141880..b401e54da7 100644
--- a/hyperdrive.el
+++ b/hyperdrive.el
@@ -190,7 +190,7 @@ version; other versions of the file or directory are not
cleared."
;; all versions of the file/directory.
(interactive (list (hyperdrive--context-entry)))
(let ((url (he/url entry)))
- (h/api 'delete url
+ (h/api 'post url
:headers '(("Cache-Control" . "no-store"))
:as 'response
:else (lambda (err)