$tpl = Renderer::getMarkupTemplate('oexchange_xrd.tpl');
$o = Renderer::replaceMacros($tpl, ['$base' => DI::baseUrl()]);
- System::httpExit($o, Response::TYPE_XML);
+ System::httpExit($o, Response::TYPE_XML, 'application/xrd+xml');
}
}
'$bigkey' => Salmon::salmonKey($config->get('system', 'site_pubkey'))
]);
- System::httpExit($content, Response::TYPE_XML);
+ System::httpExit($content, Response::TYPE_XML, 'application/xrd+xml');
}
}
header('Access-Control-Allow-Origin: *');
- System::httpExit($arr['xml'], Response::TYPE_XML);
+ System::httpExit($arr['xml'], Response::TYPE_XML, 'application/xrd+xml');
}
}