X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fapitimelinegroup.php;fp=actions%2Fapitimelinegroup.php;h=136d41bb99186c417a6fccfc4a36f5f37adbd238;hb=20396ce8e158c497a1485024ba06805bdcaf8049;hp=3fc930fa08664630a01972676875ba7888d5a466;hpb=fadc4df039f4b673b9845558763697fd6750dac3;p=quix0rs-gnu-social.git diff --git a/actions/apitimelinegroup.php b/actions/apitimelinegroup.php index 3fc930fa08..136d41bb99 100644 --- a/actions/apitimelinegroup.php +++ b/actions/apitimelinegroup.php @@ -135,7 +135,7 @@ class ApiTimelineGroupAction extends ApiPrivateAuthAction $this->showJsonTimeline($this->notices); break; case 'as': - header('Content-Type: application/json; charset=utf-8'); + header('Content-Type: ' . ActivityStreamJSONDocument::CONTENT_TYPE); $doc = new ActivityStreamJSONDocument($this->auth_user); $doc->setTitle($atom->title); $doc->addLink($link, 'alternate', 'text/html');