X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fapitimelinehome.php;h=56f0e66d0433f2eb436f4a84413546521e40bcec;hb=dbc6d607ce08a0dc4fcd2931b31ab66589d15878;hp=3c18a5b0bf195d35f396c8551efa623f8055cfa0;hpb=fbc18a3c67c732e3daad50c61b858b3e1593e1fb;p=quix0rs-gnu-social.git diff --git a/actions/apitimelinehome.php b/actions/apitimelinehome.php index 3c18a5b0bf..56f0e66d04 100644 --- a/actions/apitimelinehome.php +++ b/actions/apitimelinehome.php @@ -169,7 +169,7 @@ class ApiTimelineHomeAction extends ApiBareAuthAction $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($title); $doc->addLink($link, 'alternate', 'text/html');