Log the actor request.

This commit is contained in:
default 2022-12-16 08:35:52 +01:00
parent e6c48cc96a
commit 8461fbfbcc

View file

@ -1139,6 +1139,8 @@ int activitypub_get_handler(d_char *req, char *q_path,
/* if there was no component after the user, it's an actor request */ /* if there was no component after the user, it's an actor request */
msg = msg_actor(&snac); msg = msg_actor(&snac);
*ctype = "application/ld+json; profile=\"https://www.w3.org/ns/activitystreams\""; *ctype = "application/ld+json; profile=\"https://www.w3.org/ns/activitystreams\"";
snac_debug(&snac, 0, xs_fmt("actor requested"));
} }
else else
if (strcmp(p_path, "outbox") == 0) { if (strcmp(p_path, "outbox") == 0) {