Explorar el Código

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 hace 2 años
padre
commit
76f20bb79e
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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;