浏览代码

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
grunfink 2 年之前
父节点
当前提交
76f20bb79e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      webfinger.c

+ 1 - 1
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;