Created
January 24, 2016 14:43
-
-
Save MStrecke/aba362839673fec9298f to your computer and use it in GitHub Desktop.
output of error demo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
REPORT /owncloud/remote.php/caldav/calendars/mike/testcal1/ HTTP/1.1 | |
Host: hermitest | |
Content-Length: 391 | |
Accept: text/xml | |
User-Agent: Mozilla/5.0 | |
Depth: 1 | |
Content-Type: application/xml; charset="utf-8" | |
Authorization: Basic XXXXXXXXXXXXXXXXXXXXXXXXX | |
<?xml version='1.0' encoding='utf-8'?> | |
<C:calendar-query xmlns:C="urn:ietf:params:xml:ns:caldav" xmlns:D="DAV:"> | |
<D:prop> | |
<C:calendar-data/> | |
</D:prop> | |
<C:filter> | |
<C:comp-filter name="VCALENDAR"> | |
<C:comp-filter name="VEVENT"> | |
<C:time-range start="20160101T000000Z"/> | |
</C:comp-filter> | |
</C:comp-filter> | |
</C:filter> | |
</C:calendar-query> | |
------------------------------------------ | |
HTTP/1.1 207 Multi-Status | |
Date: Sun, 24 Jan 2016 14:02:16 GMT | |
Server: Apache/2.4.10 (Raspbian) | |
Set-Cookie: ock7p0c9urj4=r3arr0fcnpn6q8phqk18qm1dq0; path=/owncloud; HttpOnly | |
Expires: Thu, 19 Nov 1981 08:52:00 GMT | |
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0 | |
Pragma: no-cache | |
Content-Security-Policy: default-src 'self'; script-src 'self' 'unsafe-eval'; style-src 'self' 'unsafe-inline'; frame-src *; img-src * data: blob:; font-src 'self' data:; media-src *; connect-src * | |
X-XSS-Protection: 1; mode=block | |
X-Content-Type-Options: nosniff | |
X-Frame-Options: Sameorigin | |
X-Robots-Tag: none | |
Set-Cookie: ock7p0c9urj4=kfqivs6n650m8pdoii0kaq46p6; path=/owncloud; HttpOnly | |
X-Sabre-Version: 2.1.6 | |
Vary: Brief,Prefer | |
Content-Length: 779 | |
Content-Type: application/xml; charset=utf-8 | |
<?xml version="1.0" encoding="utf-8"?> | |
<d:multistatus xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns" xmlns:cal="urn:ietf:params:xml:ns:caldav" xmlns:cs="http://calendarserver.org/ns/"><d:response><d:href>/owncloud/remote.php/caldav/calendars/mike/testcal1/owncloud-d9b7f412b71196286181d9e3c39568f1.ics</d:href><d:propstat><d:prop><cal:calendar-data>BEGIN:VCALENDAR | |
VERSION:2.0 | |
PRODID:ownCloud Calendar | |
CALSCALE:GREGORIAN | |
BEGIN:VEVENT | |
UID:8c33fe3271 | |
DTSTAMP:20160124T131755Z | |
CREATED:20160124T130428Z | |
LAST-MODIFIED:20160124T131755Z | |
SUMMARY:test | |
DTSTART;VALUE=DATE:20160107 | |
DTEND;VALUE=DATE:20160108 | |
LOCATION: | |
DESCRIPTION: | |
CATEGORIES: | |
CLASS:PUBLIC | |
END:VEVENT | |
END:VCALENDAR | |
</cal:calendar-data></d:prop><d:status>HTTP/1.1 200 OK</d:status></d:propstat></d:response></d:multistatus> | |
========================================== | |
REPORT /owncloud/remote.php/caldav/calendars/mike/testcal1/ HTTP/1.1 | |
Host: hermitest | |
Content-Length: 496 | |
Accept: text/xml | |
User-Agent: Mozilla/5.0 | |
Depth: 1 | |
Content-Type: application/xml; charset="utf-8" | |
Authorization: Basic XXXXXXXXXXXXXXXXXXXX | |
<?xml version='1.0' encoding='utf-8'?> | |
<C:calendar-query xmlns:C="urn:ietf:params:xml:ns:caldav" xmlns:D="DAV:"> | |
<D:prop> | |
<C:calendar-data> | |
<C:expand start="20160101T000000Z" end="20160130T000000Z"/> | |
</C:calendar-data> | |
</D:prop> | |
<C:filter> | |
<C:comp-filter name="VCALENDAR"> | |
<C:comp-filter name="VEVENT"> | |
<C:time-range start="20160101T000000Z" end="20160130T000000Z"/> | |
</C:comp-filter> | |
</C:comp-filter> | |
</C:filter> | |
</C:calendar-query> | |
------------------------------------------ | |
HTTP/1.1 500 Internal Server Error | |
Date: Sun, 24 Jan 2016 14:02:21 GMT | |
Server: Apache/2.4.10 (Raspbian) | |
Set-Cookie: ock7p0c9urj4=ivrd6nvq22ombr6hec3uugt6m1; path=/owncloud; HttpOnly | |
Expires: Thu, 19 Nov 1981 08:52:00 GMT | |
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0 | |
Pragma: no-cache | |
Content-Security-Policy: default-src 'self'; script-src 'self' 'unsafe-eval'; style-src 'self' 'unsafe-inline'; frame-src *; img-src * data: blob:; font-src 'self' data:; media-src *; connect-src * | |
X-XSS-Protection: 1; mode=block | |
X-Content-Type-Options: nosniff | |
X-Frame-Options: Sameorigin | |
X-Robots-Tag: none | |
Set-Cookie: ock7p0c9urj4=9nhmhoum2nqg7q2rc6se936mc1; path=/owncloud; HttpOnly | |
X-Sabre-Version: 2.1.6 | |
Content-Length: 274 | |
Connection: close | |
Content-Type: application/xml; charset=utf-8 | |
<?xml version="1.0" encoding="utf-8"?> | |
<d:error xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns"> | |
<s:sabredav-version>2.1.6</s:sabredav-version> | |
<s:exception>Sabre\VObject\EofException</s:exception> | |
<s:message>End of document reached prematurely</s:message> | |
</d:error> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
see also https://gist.github.com/MStrecke/64bccbf447967da7337b and owncloud/calendar#1013