Open GoogleCodeExporter opened 9 years ago
Since PUT can be used to create a resource, I think I need a new field here. I
think what I will do is include the 'If-Match' parameter. It takes on values
of:
'new' - Must be creating a new resource.
'overwrite' - Can be a create or an update.
'<sha1-hash>' - Must match the previous sha1 hash in order to update the entity.
(see http://stackoverflow.com/questions/630453/put-vs-post-in-rest)
Original comment by mckoss@gmail.com
on 28 Jan 2011 at 11:19
Original issue reported on code.google.com by
thomasl...@gmail.com
on 25 Jan 2011 at 12:29