summaryrefslogtreecommitdiff
path: root/webfinger.c
diff options
context:
space:
mode:
authorgrunfink <grunfink@noreply.codeberg.org>2024-05-22 14:01:03 +0000
committergrunfink <grunfink@noreply.codeberg.org>2024-05-22 14:01:03 +0000
commit76f20bb79e622ca83cc2bce9ff1cf0c34c614385 (patch)
treedd96635e4b33babec99c025592c7cfae8e1aaf66 /webfinger.c
parent8fd070bb9a1a8e355f0899ef2f02c55ab90a09d8 (diff)
parent59bdaca3a87189bd6f634716e4d7ccf85081ff89 (diff)
Merge pull request 'Change WebFinger content type to RFC-required type' (#167) from steve-bate/snac2:pr-webfinger-content-type into master
Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/167
Diffstat (limited to 'webfinger.c')
-rw-r--r--webfinger.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/webfinger.c b/webfinger.c
index a12134d..cad86e4 100644
--- a/webfinger.c
+++ b/webfinger.c
@@ -215,7 +215,7 @@ int webfinger_get_handler(xs_dict *req, char *q_path,
status = 200;
*body = j;
- *ctype = "application/json";
+ *ctype = "application/jrd+json";
}
else
status = 404;