davical/testing/tests/carddav/2012-REPORT-addressbook-multiget.result
Florian Schlichting 44ff0b3286 update tests for changed etags, unstable REV/UID or sort order, improved property parsing
Changed line wrapping in awl is one major reason for etag changes.

With this commit, all tests in regression-suite, binding and carddav
pass for me, using the configuration outlined in README.regression_tests
2017-09-21 00:39:30 +02:00

82 lines
2.6 KiB
Plaintext

HTTP/1.1 207 Multi-Status
Date: Dow, 01 Jan 2000 00:00:00 GMT
DAV: 1, 2, 3, access-control, calendar-access, calendar-schedule
DAV: extended-mkcol, bind, addressbook, calendar-auto-schedule, calendar-proxy
ETag: "a fine looking etag"
Content-Length: 2326
Content-Type: text/xml; charset="utf-8"
<?xml version="1.0" encoding="utf-8" ?>
<multistatus xmlns="DAV:" xmlns:VC="urn:ietf:params:xml:ns:carddav">
<response>
<href>/caldav.php/user1/addressbook/andrew_mcmillan.vcf</href>
<propstat>
<prop>
<get?tag>"deadbeefcafef00ddeadbeefcafefeed"<.get?tag>
<VC:address-data>BEGIN:VCARD
VERSION:3.0
UID:excellent-looking-uid-string
X-SKYPE;X-EVOLUTION-UI-SLOT=1;TYPE=HOME:karora__
X-JABBER;X-EVOLUTION-UI-SLOT=3;TYPE=HOME:karora@irc.oftc.net
TEL;X-EVOLUTION-UI-SLOT=3;TYPE=CELL:+64 22 123 4567
TEL;X-EVOLUTION-UI-SLOT=2;TYPE=HOME,VOICE:+64 4 123 4567
TEL;X-EVOLUTION-UI-SLOT=1;TYPE=WORK,VOICE:+64 22 123 4567
EMAIL;X-EVOLUTION-UI-SLOT=2;TYPE=HOME:andrew@mcmillan.net.nz
EMAIL;X-EVOLUTION-UI-SLOT=1;TYPE=WORK:andrew@morphoss.com
LABEL;TYPE=HOME:16 Kaka Place\nPorikana\n4173\nNew Zealand
ADR;TYPE=HOME:;;16 Kaka Place;Porikana;;4173;New Zealand
X-MOZILLA-HTML:FALSE
X-EVOLUTION-VIDEO-URL:
FBURL:https://davical.morphoss.com/freebusy.php/andrew@morphoss.com
CALADRURI:mailto:andrew@morphoss.com
CALURI:https://dotcal.com/karora
X-EVOLUTION-BLOG-URL:http://andrew.mcmillan.net.nz/
CATEGORIES:Developer,Personal,Debian,
X-EVOLUTION-FILE-AS:McMillan\, Andrew
N:McMillan;Andrew;Watson;;
FN:Andrew Watson McMillan
NOTE:Primary author of DAViCal CalDAV Server.
X-EVOLUTION-SPOUSE:Heather Buchanan
X-EVOLUTION-ANNIVERSARY:1989-04-22
BDAY:1958-07-26
NICKNAME:karora
X-EVOLUTION-ASSISTANT:
X-EVOLUTION-MANAGER:
ROLE:Geek
ORG:dotCal;;Porirua
TITLE:Chief Technology Officer
URL:http://andrew.mcmillan.net.nz/
REV:YYYYMMDDTHHMMSSZ
END:VCARD
</VC:address-data>
</prop>
<status>HTTP/1.1 200 OK</status>
</propstat>
</response>
<response>
<href>/caldav.php/user1/addressbook/donald_kelly.vcf</href>
<propstat>
<prop>
<get?tag>"deadbeefcafef00ddeadbeefcafefeed"<.get?tag>
<VC:address-data>BEGIN:VCARD
FN:Donald Kelly
N:Kelly;Donald;;;
ORG:Esposo Designs Ltd
ADR:;;25 Rintoul St;Newtown;Wellington;;New Zealand
EMAIL;TYPE=internet:donald@example.co.nz
TITLE:Proprietor
TEL;TYPE=work:+64 4 347 4747
TEL;TYPE=cell:+64 2 1234-4321
X-MOZILLA-HTML:TRUE
URL:www.example.co.nz
VERSION:2.1
UID:excellent-looking-uid-string
REV:YYYYMMDDTHHMMSSZ
END:VCARD
</VC:address-data>
</prop>
<status>HTTP/1.1 200 OK</status>
</propstat>
</response>
</multistatus>