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
This commit is contained in:
grunfink 2024-05-22 14:01:03 +00:00
commit 76f20bb79e

View File

@ -215,7 +215,7 @@ int webfinger_get_handler(xs_dict *req, char *q_path,
status = 200; status = 200;
*body = j; *body = j;
*ctype = "application/json"; *ctype = "application/jrd+json";
} }
else else
status = 404; status = 404;