diff options
author | mousebot <mousebot@riseup.net> | 2021-12-25 14:53:50 +0100 |
---|---|---|
committer | mousebot <mousebot@riseup.net> | 2021-12-25 14:53:50 +0100 |
commit | a81d042f8ebfeaccb373adc3e20c8c3ad07dc1a6 (patch) | |
tree | 58bdb133375ffbc9270fc2f58c267010419bb4be /lisp/mastodon-http.el | |
parent | 81da5c5ecc97d257d0767fdeff1e9ad8c2cc9be4 (diff) |
pleroma compat comment
Diffstat (limited to 'lisp/mastodon-http.el')
-rw-r--r-- | lisp/mastodon-http.el | 1 |
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))) |