Changes due to PROPFIND now finding arbitrary properties.

This commit is contained in:
Andrew McMillan 2006-12-23 20:10:54 +13:00
parent 7753f02434
commit 475e1973fe
2 changed files with 39 additions and 11 deletions

View File

@ -1,14 +1,40 @@
HTTP/1.1 422 Unprocessable Entity
HTTP/1.1 207 Multi-Status
Date: Dow, 01 Jan 2000 00:00:00 GMT
Content-Length: 158
ETag: "fe928ac898184555ef5bae3a700784ea"
Content-Length: 963
Content-Type: text/xml; charset="utf-8"
<?xml version="1.0" ?>
<error xmlns="DAV:">
<LOCK>
<prop>
<bogus-property xmlns="dav:"/>
<contentbogosity xmlns="dav:"/>
</prop>
</LOCK>
</error>
<?xml version="1.0" encoding="utf-8" ?>
<multistatus xmlns="DAV:">
<response>
<href>/caldav.php/user1/home/</href>
<propstat>
<prop>
<getlastmodified>Dow, 01 Jan 2000 00:00:00 GMT</getlastmodified>
<getcontentlength>6689</getcontentlength>
<getcontenttype>httpd/unix-directory</getcontenttype>
<creationdate>Dow, 01 Jan 2000 00:00:00 GMT</creationdate>
<resourcetype>
<collection/>
<calendar xmlns="urn:ietf:params:xml:ns:caldav"/>
</resourcetype>
<displayname>home</displayname>
<getetag>"faf25336de0e470a54075c14cbcf5272"</getetag>
<DAV::BOGUS-PROPERTY/>
<DAV::CONTENTBOGOSITY/>
<getcontentlanguage>en_NZ</getcontentlanguage>
<supportedlock>
<lockentry>
<lockscope>
<exclusive/>
</lockscope>
<locktype>
<write/>
</locktype>
</lockentry>
</supportedlock>
</prop>
<status>HTTP/1.1 200 OK</status>
</propstat>
</response>
</multistatus>

View File

@ -5,6 +5,8 @@
<propstat>
<prop>
<displayname>User One's Calendar</displayname>
<DAV::OWNER/>
<URN:MCMILLAN:BOGUS:XML:NS:RSCDS:ARBITRARY>A completely bogus property which should be saved.</URN:MCMILLAN:BOGUS:XML:NS:RSCDS:ARBITRARY>
</prop>
<status>HTTP/1.1 200 OK</status>
</propstat>