mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-14 17:45:04 +00:00
Log the user-agent when serving the actor.
This commit is contained in:
parent
1ca94dab67
commit
8451d66601
1 changed files with 3 additions and 1 deletions
|
@ -1362,7 +1362,9 @@ int activitypub_get_handler(d_char *req, char *q_path,
|
|||
msg = msg_actor(&snac);
|
||||
*ctype = "application/ld+json; profile=\"https://www.w3.org/ns/activitystreams\"";
|
||||
|
||||
snac_debug(&snac, 0, xs_fmt("serving actor"));
|
||||
char *ua = xs_dict_get(req, "user-agent");
|
||||
|
||||
snac_debug(&snac, 0, xs_fmt("serving actor [%s]", ua ? ua : "No UA"));
|
||||
}
|
||||
else
|
||||
if (strcmp(p_path, "outbox") == 0) {
|
||||
|
|
Loading…
Reference in a new issue