branch: elpa/fedi
commit d1af988936bef73b8cdf9d091c235eb83668cedc
Author: marty hiatt <martianhiatus [a t] riseup [d o t] net>
Commit: marty hiatt <martianhiatus [a t] riseup [d o t] net>
speculatively handle rest of http methods
---
fedi.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/fedi.el b/fedi.el
index 04b1710211e..eef96e53a26 100644
--- a/fedi.el
+++ b/fedi.el
@@ -91,8 +91,9 @@ that handles auth by providing info using HEADERS or
AUTH-PARAM."
(response
(cond ((or (equal ,method "post")
(equal ,method "put"))
+ ;; FIXME: deal with headers nil arg here:
(funcall #',req-fun url params nil ,json))
- ((equal ,method "get")
+ (t
(funcall #',req-fun url params)))))
(fedi-http--triage response
(lambda ()