From a81d042f8ebfeaccb373adc3e20c8c3ad07dc1a6 Mon Sep 17 00:00:00 2001 From: mousebot Date: Sat, 25 Dec 2021 14:53:50 +0100 Subject: pleroma compat comment --- lisp/mastodon-http.el | 1 + 1 file changed, 1 insertion(+) (limited to 'lisp') 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))) -- cgit v1.2.3