Browse Source

Use the proper content-type

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

Backport requested.
tags/v7.0.0alpha2
Lukas Reschke 10 years ago
parent
commit
8a2cd0355d
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      ocs/providers.php

+ 2
- 0
ocs/providers.php View File

@@ -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('

Loading…
Cancel
Save