Komunikace klient-server
Popis: p°φklad komunikace serveru a klienta (klient po₧aduje zm∞nu vlastnostφ spojen²ch se souborem index.html)
>>Dotaz klienta
PROPPATCH /index.html HTTP/1.1
Host: www.muj-webdav.cz
Content-Type: text/xml; charset="iso-8859-1"
Content-Length: xxxx
<?xml version="1.0" encoding="iso-8859-1" ?>
<D:propertyupdate xmlns:D="DAV:" xmlns:Z="http://www.muj-webdav.cz/standards/dtd-two">
<D:set>
<D:prop>
<Z:authors>
<Z:Author>George Bush</Z:Author>
<Z:Author>Bill Gates</Z:Author>
</Z:authors>
</D:prop>
</D:set>
<D:remove>
<D:prop><Z:Copyright-Owner/></D:prop>
</D:remove>
</D:propertyupdate>
>>Odpov∞∩ serveru
HTTP/1.1 207 Multi-Status
Content-Type: text/xml; charset="utf-8"
Content-Length: xxxx
<?xml version="1.0" encoding="utf-8" ?>
<D:multistatus xmlns:D="DAV:" xmlns:Z="http://www.muj-webdav.cz/standards/dtd-two">
<D:response>
<D:href>http://www.muj-webdav.cz/index.html</D:href>
<D:propstat>
<D:prop><Z:Authors/></D:prop>
<D:status>HTTP/1.1 424 Failed Dependency</D:status>
</D:propstat>
<D:propstat>
<D:prop><Z:Copyright-Owner/></D:prop>
<D:status>HTTP/1.1 409 Conflict</D:status>
</D:propstat>
<D:responsedescription> Copyright Owner can not be deleted or altered.</D:responsedescription>
</D:response>
</D:multistatus>