From b5be6a017220820f48e896531737d07122364621 Mon Sep 17 00:00:00 2001 From: default Date: Mon, 26 Sep 2022 00:01:19 +0200 Subject: Return the correct content-type. --- activitypub.c | 1 + 1 file changed, 1 insertion(+) (limited to 'activitypub.c') diff --git a/activitypub.c b/activitypub.c index 8a02d7e..13d7d85 100644 --- a/activitypub.c +++ b/activitypub.c @@ -434,6 +434,7 @@ int activitypub_get_handler(d_char *req, char *q_path, if (status == 200 && msg != NULL) { *body = xs_json_dumps_pp(msg, 4); *b_size = strlen(*body); + *ctype = "application/activity+json"; } user_free(&snac); -- cgit v1.2.3