Skip to content
Snippets Groups Projects
Commit 8a2cd035 authored by Lukas Reschke's avatar Lukas Reschke
Browse files

Use the proper content-type

We should use the proper content-type `application/xml` instead of the default `text/html` here.

Backport requested.
parent 84cd6e03
Branches
No related tags found
No related merge requests found
......@@ -23,6 +23,8 @@
require_once '../lib/base.php';
header('Content-type: application/xml');
$url=OCP\Util::getServerProtocol().'://'.substr(OCP\Util::getServerHost().OCP\Util::getRequestUri(), 0, -17).'ocs/v1.php/';
echo('
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment