I notice that:

* DELETE lets you specify ...?rev=xxxx as part of the URL

* But PUT doesn't (it seems to ignore it)

* Both of them let you use an If-Match: xxxx header instead

I was just wondering if it's intentional that PUT doesn't honour ?rev=xxxx.
Admittedly, if it did, there would then be *three* different ways of
specifying the same thing (including _rev in the JSON body). However it's
often more convenient to add a query string than to add an extra header,
and it seems a bit inconsistent at the moment.

This isn't a big problem for me, but just thought it was worth a mention.

Regards,

Brian.

Reply via email to