branch: elpa/fedi
commit e892eacfd5b528a6e8fc83c73de19dddff04886d
Author: marty hiatt <martianhiatus [a t] riseup [d o t] net>
Commit: marty hiatt <martianhiatus [a t] riseup [d o t] net>
comment
---
fedi-http.el | 2 ++
1 file changed, 2 insertions(+)
diff --git a/fedi-http.el b/fedi-http.el
index 359f87346ff..25c06eee343 100644
--- a/fedi-http.el
+++ b/fedi-http.el
@@ -131,6 +131,8 @@ json-string PARAMS."
(if json
(json-encode params)
(fedi-http--build-params-string params))))
+ ;; TODO: perhaps leave these headers to the package now that
+ ;; `fedi-request' takes header args?
(headers (when json
(append headers
'(("Content-Type" . "application/json")