On Mon, May 11, 2009 at 1:56 PM, Brian Candler <[email protected]> wrote: > 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. >
90% of the time something like this in our API is just a side-effect of the test suite being under specified. If you hit us with a JS tested patch we'd love to have it. Chris -- Chris Anderson http://jchrisa.net http://couch.io
