Browse Source

Change WebFinger content type to RFC-required type

Steve Bate 2 năm trước cách đây
mục cha
commit
59bdaca3a8
1 tập tin đã thay đổi với 1 bổ sung và 1 xóa
  1. 1 1
      webfinger.c

+ 1 - 1
webfinger.c

@@ -214,7 +214,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;