Implementing a WebDAV server using SabreDAV

Comparing #5 with #6

Revision #6 was created by nineinchnick nineinchnick on May 8, 2013, 9:36:12 AM.

fixed a typo, chaning 'this' to 'client' in client controller example

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']));
}
}
[...]