mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-25 14:35:04 +00:00
Added the profile="" argument to Person content-type.
This commit is contained in:
parent
c7c1ee69fc
commit
e98dbe4eb5
1 changed files with 1 additions and 1 deletions
|
@ -1089,7 +1089,7 @@ int activitypub_get_handler(d_char *req, char *q_path,
|
|||
if (p_path == NULL) {
|
||||
/* if there was no component after the user, it's an actor request */
|
||||
msg = msg_actor(&snac);
|
||||
*ctype = "application/ld+json";
|
||||
*ctype = "application/ld+json; profile=\"https://www.w3.org/ns/activitystreams\"";
|
||||
}
|
||||
else
|
||||
if (strcmp(p_path, "outbox") == 0) {
|
||||
|
|
Loading…
Reference in a new issue