You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-dev@jakarta.apache.org by ja...@apache.org on 2005/01/18 04:00:42 UTC

[Jakarta-Slide Wiki] New: WebDAVProperties

   Date: 2005-01-17T19:00:41
   Editor: BrianLee
   Wiki: Jakarta-Slide Wiki
   Page: WebDAVProperties
   URL: http://wiki.apache.org/jakarta-slide/WebDAVProperties

   no comment

New Page:

##language:en
== Details on WebDAV resource properties for SLIDE ==
This document aims to provide more information concerning property data used by SLIDE for resources

=== Example ===
{{{
#WebDAV properties
#Wed Nov 10 11:01:46 PST 2004
DAV\:getetag=5822c7f1048d26267e8ab88d57712eff
DAV\:source=
DAV\:owner=root
DAV\:getcontentlanguage=en
DAV\:getlastmodified=Wed, 10 Nov 2004 19\:01\:46 GMT
DAV\:resourcetype=
DAV\:getcontentlength=0
DAV\:getcontenttype=application/pdf
DAV\:modificationdate=2004-11-10T19\:01\:46Z
DAV\:creationdate=2004-11-10T19\:01\:46Z
DAV\:modificationuser=root
DAV\:displayname=._Transcript_form.pdf
DAV\:creationuser=root
}}} 

=== Property Listing ===

==== getetag (HTTP Entity Tag) ==== 
ETags are used to determine if a resource's content has changed. More specifically clients use ETags to determine if they are accessing the latest
version of a resource. It prevents a client (user) from overwriting another client's changes to a specific resource. It also helps avoid unneccesary downloads.

Example Scenario:
Client X accesses a resource to update. 
Client X accesses an ETag value of the resource.
Client Y accesses a the same resource that Client X is accesses.
Client Y accesses an ETag value of the resource (same as Client X's version of the ETag value).
Client X makes changes to the resource's data. 
Before saving Client X checks to see if his ETag value still matches the ETag value on the server.
Both ETags match and the save is successful. The resource now has a new ETag value.
Client Y makes changes to the resource's data (his changes do not include Client X's changes).
Before saving Client Y checks to see if his ETag value still matches the ETag value on the server.
Both ETags do not match. The save is not successful.

==== source ====



---------------------------------------------------------------------
To unsubscribe, e-mail: slide-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-dev-help@jakarta.apache.org