aboutsummaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authormousebot <mousebot@riseup.net>2021-12-25 14:53:50 +0100
committermousebot <mousebot@riseup.net>2021-12-25 14:53:50 +0100
commita81d042f8ebfeaccb373adc3e20c8c3ad07dc1a6 (patch)
tree58bdb133375ffbc9270fc2f58c267010419bb4be /lisp
parent81da5c5ecc97d257d0767fdeff1e9ad8c2cc9be4 (diff)
pleroma compat comment
Diffstat (limited to 'lisp')
-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)))