From: Lukas Reschke Date: Mon, 17 Feb 2014 15:45:22 +0000 (+0100) Subject: Use the proper content-type X-Git-Tag: v5.0.15RC1~18 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=cf05ecbd1c1b3113f8b7d9bfa02705509e2d2533;p=nextcloud-server.git Use the proper content-type We should use the proper content-type `application/xml` instead of the default `text/html` here. Backport requested. --- diff --git a/ocs/providers.php b/ocs/providers.php index bf94b85dcfb..2c62f767ad3 100644 --- a/ocs/providers.php +++ b/ocs/providers.php @@ -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('