aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-http.el
diff options
context:
space:
mode:
authormousebot <mousebot@riseup.net>2022-01-11 18:17:30 +0100
committermousebot <mousebot@riseup.net>2022-01-11 18:17:30 +0100
commite11e75101bd816a437d51da164bd9b6ccfca44ec (patch)
treeee53b6846bcd016449a0d3b6697e7cc75fd80292 /lisp/mastodon-http.el
parentf9f4ce55ecf93cd8eeb609a38d4679aed5c5bace (diff)
parentdd5f445ca7dcdb013c1cb31b61b8ae01444405cc (diff)
Merge branch 'fix-local-mentions-links-checking'
Diffstat (limited to 'lisp/mastodon-http.el')
-rw-r--r--lisp/mastodon-http.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/mastodon-http.el b/lisp/mastodon-http.el
index c0fa101..f988e39 100644
--- a/lisp/mastodon-http.el
+++ b/lisp/mastodon-http.el
@@ -113,6 +113,7 @@ Authorization header is included by default unless UNAUTHENTICED-P is non-nil."
(append
(unless unauthenticed-p
`(("Authorization" . ,(concat "Bearer " (mastodon-auth--access-token)))))
+ ;; pleroma compatibility:
(unless (assoc "Content-Type" headers)
'(("Content-Type" . "application/x-www-form-urlencoded")))
headers)))