mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-15 01:55:03 +00:00
Return the correct content-type.
This commit is contained in:
parent
39de21e860
commit
b5be6a0172
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue