34k+
News
Guide
API
Wiki
Forum
Community
Places
Members
Hall of Fame
Badges
More
Learn
Books
Resources
Develop
Download Yii
Extensions
Report an Issue
Report a Security Issue
Contribute to Yii
Donate
About
Release Cycle
License
Team
Official Logos and Design
Login
Implementing a WebDAV server using SabreDAV
Comparing
#5
with
#6
Revision #6 was created by
nineinchnick
on May 8, 2013, 9:36:12 AM.
fixed a typo, chaning 'this' to 'client' in client controller example
« Previous (#5)
Content
[...]
'Prefer'=>'return-minimal',
'Content-Type'=>'application/xml; charset=utf-8',
), $headers);
unset($doc);
$response = $
this
client
->request('REPORT', 'calendars/somePrincipal', $body, $headers);
header("Content-type: application/json");
echo CJSON::encode($this->parseMultiStatus($response['body']));
}
}
[...]