[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Update resource - GET required to preceed the PUT?



The subject line really says it all.  To be a compliant AtomPub client, when editing a resource must the client do a GET before doing a PUT?  The way I understand it, use of etags or modify dates as a part of the exchange is not required (resulting in potential overwrite problems).  Yet if a server did require that, say, eTags be used then PUT requests lacking the eTag could result in an error code (not sure which) which could be interpreted to mean, “do a GET and use the eTag to retry your PUT”.

 

Thanks,

Cornelia

 

Cornelia Davis

Senior Technologist

EMC Corporation, Office of the CTO
davis_cornelia@xxxxxxx
p: 805.560.9039
m: 805.452.8941
f: 805.880.0390