summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--activitypub.c1
1 files changed, 1 insertions, 0 deletions
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);