aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/web/web_finger
diff options
context:
space:
mode:
Diffstat (limited to 'lib/pleroma/web/web_finger')
-rw-r--r--lib/pleroma/web/web_finger/web_finger.ex2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pleroma/web/web_finger/web_finger.ex b/lib/pleroma/web/web_finger/web_finger.ex
index ecb39ee50..624ee5ef7 100644
--- a/lib/pleroma/web/web_finger/web_finger.ex
+++ b/lib/pleroma/web/web_finger/web_finger.ex
@@ -217,7 +217,7 @@ defmodule Pleroma.Web.WebFinger do
with response <-
HTTP.get(
address,
- Accept: "application/xrd+xml,application/jrd+json"
+ [{"accept", "application/xrd+xml,application/jrd+json"}]
),
{:ok, %{status: status, body: body}} when status in 200..299 <- response do
doc = XML.parse_document(body)