aboutsummaryrefslogtreecommitdiffstats
path: root/samples/xml/propget.xml
blob: 2db1aa2dfdc2ca46d0206c5c2bc53f33ca2b1346 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<?xml version="1.0" encoding="UTF-8"?>
<D:multistatus xmlns:D="DAV:" xmlns:C="urn:ietf:params:xml:ns:caldav">

  <D:response>

    <D:href>/calendar/user/</D:href>

    <D:propstat>
      <D:status>HTTP/1.1 200 OK</D:status>
      <D:prop>

        <D:principal-URL>
          <D:href>/calendar/pinc/</D:href>
        </D:principal-URL>

        <D:resourcetype>
          <D:principal />
          <D:collection />
        </D:resourcetype>

      </D:prop>
    </D:propstat>

    <D:propstat>
      <D:status>HTTP/1.1 404 Not Found</D:status>
      <D:prop>
        <A:current-user-principal xmlns:A="DAV:" />
      </D:prop>
    </D:propstat>

  </D:response>

  <D:response>
    <D:href>/calendar/other</D:href>
    <D:propstat>
      <D:status>HTTP/1.1 200 OK</D:status>
      <D:prop>
        <D:missing />
      </D:prop>
    </D:propstat>
  </D:response>

</D:multistatus>