Implementing a WebDAV server using SabreDAV

Comparing #5 with #6

Content

[...]
'Prefer'=>'return-minimal',
'Content-Type'=>'application/xml; charset=utf-8',
), $headers);
unset($doc);

$response = $
thisclient->request('REPORT', 'calendars/somePrincipal', $body, $headers);
header("Content-type: application/json");
echo CJSON::encode($this->parseMultiStatus($response['body']));
}
}
[...]