Kaynağa Gözat

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 yıl önce
ebeveyn
işleme
76f20bb79e
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  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;
         status = 200;
         *body  = j;
         *body  = j;
-        *ctype = "application/json";
+        *ctype = "application/jrd+json";
     }
     }
     else
     else
         status = 404;
         status = 404;