- From: Jeffrey Mogul <mogul@pa.dec.com>
- Date: Mon, 19 Aug 96 11:00:34 MDT
- To: "John C. Mallery" <jcma@ai.mit.edu>
- Cc: http-wg%cuckoo.hpl.hp.com@hplb.hpl.hp.com
Who wants to write file and not know if there is a version conflict? One way to solve this in HTTP/1.1 is to do: PUT /foo HTTP/1.1 If-Match: "1ad18937shjd" if the previously known Etag: for the resource was "1ad18937shjd", or (if no Etag is available, but a Last-modified time is available) PUT /foo HTTP/1.1 If-Unmodified-Since: Sat, 29 Oct 1994 19:43:31 GMT This latter approach is a little risky, since if the resource is modified more than once during a given second, a conflict could arise. -Jeff
Received on Monday, 19 August 1996 11:09:13 UTC