I don't know about your curl, but mine only understands --head or -I if you want to do a HEAD request.
Nils. ________________________________________ Van: couchdb user [[email protected]] Verzonden: zondag 7 november 2010 3:25 Aan: [email protected] Onderwerp: Re: Write race conditions, working without _rev To follow up on what Chad said about avoiding reading the doc to get the _rev, you can also use a HEAD request, while it is an extra request, it will use a lot less resources. $ curl -HEAD http://127.0.0.1:5984/example/post98 {"_id":"post98","_rev":"1-9e6543bfb3cbf3b7c36904a1ea4b806f","tags":"[2,5]"} ------------------------------------------------------------------------ VPRO phone: +31(0)356712911 e-mail: [email protected] web: www.vpro.nl ------------------------------------------------------------------------
