summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--activitypub.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/activitypub.c b/activitypub.c
index a4969c1..11fddf4 100644
--- a/activitypub.c
+++ b/activitypub.c
@@ -1362,7 +1362,9 @@ int activitypub_get_handler(d_char *req, char *q_path,
1362 msg = msg_actor(&snac); 1362 msg = msg_actor(&snac);
1363 *ctype = "application/ld+json; profile=\"https://www.w3.org/ns/activitystreams\""; 1363 *ctype = "application/ld+json; profile=\"https://www.w3.org/ns/activitystreams\"";
1364 1364
1365 snac_debug(&snac, 0, xs_fmt("serving actor")); 1365 char *ua = xs_dict_get(req, "user-agent");
1366
1367 snac_debug(&snac, 0, xs_fmt("serving actor [%s]", ua ? ua : "No UA"));
1366 } 1368 }
1367 else 1369 else
1368 if (strcmp(p_path, "outbox") == 0) { 1370 if (strcmp(p_path, "outbox") == 0) {