commit e98dbe4

default  ·  2022-12-01 18:38:11 +0000 UTC
parent c7c1ee6
Added the profile="" argument to Person content-type.
1 files changed,  +1, -1
+1, -1
1@@ -1089,7 +1089,7 @@ int activitypub_get_handler(d_char *req, char *q_path,
2     if (p_path == NULL) {
3         /* if there was no component after the user, it's an actor request */
4         msg = msg_actor(&snac);
5-        *ctype = "application/ld+json";
6+        *ctype = "application/ld+json; profile=\"https://www.w3.org/ns/activitystreams\"";
7     }
8     else
9     if (strcmp(p_path, "outbox") == 0) {