Date: 2005-01-17T19:03:23 Editor: BrianLee Wiki: Jakarta-Slide Wiki Page: WebDAVProperties URL: http://wiki.apache.org/jakarta-slide/WebDAVProperties
no comment Change Log: ------------------------------------------------------------------------------ @@ -23,21 +23,29 @@ === Property Listing === -ij -==== getetag ==== +==== getetag ==== ETags (HTTP Entity Tag) 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. + +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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
