Return-Path: X-Original-To: apmail-couchdb-user-archive@www.apache.org Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 483D4F969 for ; Thu, 4 Apr 2013 23:34:19 +0000 (UTC) Received: (qmail 95967 invoked by uid 500); 4 Apr 2013 23:34:17 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 95887 invoked by uid 500); 4 Apr 2013 23:34:17 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 95870 invoked by uid 99); 4 Apr 2013 23:34:17 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Apr 2013 23:34:17 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,NORMAL_HTTP_TO_IP,RCVD_IN_DNSWL_LOW,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of bdrhoa@gmail.com designates 209.85.219.43 as permitted sender) Received: from [209.85.219.43] (HELO mail-oa0-f43.google.com) (209.85.219.43) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Apr 2013 23:34:12 +0000 Received: by mail-oa0-f43.google.com with SMTP id l10so3440614oag.2 for ; Thu, 04 Apr 2013 16:33:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type; bh=YDIOJo1L/cpJpEDk4mRQ//VNzTGhRD9wsyObGE/BCgM=; b=CnvQ2iG8fP6ifquyIrDvPJTbBQ1JSZtJfOGXdI8kxbX3Yaik5enrr/UTKZExDJ8ACc qCmRAUCsifzPOuwQA6LBw/7yqOvS5+oJ8nVavnXLQHDhxjx4Sz82FCZRTeqDqmArHNnH MCgoBP4xZkOY0OopHZU82cHC1aHmImovuUjix1SxN4TeiUSemp82LdXwXK39an/4kFLA jp/QB6gxnRNnr4n55C/Dd24NNqiyIvv58+sN7OHlW6BDgISPJnFczBovvHxWYZCWiI2H 7FzvGCS0BD6z6jjUaFf0mG7/X7iD56OFfnZWUbWS0MTdznpRyTZe6CkiMaXin48V9OLV dL2A== MIME-Version: 1.0 X-Received: by 10.182.144.42 with SMTP id sj10mr6249491obb.66.1365118432289; Thu, 04 Apr 2013 16:33:52 -0700 (PDT) Received: by 10.182.237.65 with HTTP; Thu, 4 Apr 2013 16:33:52 -0700 (PDT) Date: Thu, 4 Apr 2013 17:33:52 -0600 Message-ID: Subject: DELETE _local Documents From: Brad Rhoads To: user@couchdb.apache.org Content-Type: multipart/alternative; boundary=14dae93991633bac0204d9916752 X-Virus-Checked: Checked by ClamAV on apache.org --14dae93991633bac0204d9916752 Content-Type: text/plain; charset=ISO-8859-1 Hi, I have: http://127.0.0.1:5984/estante0403a/_local/updatepref {"_id":"_local/updatepref","_rev":"0-1","continuous":"true"} But I can't figure out to do a DELETE. I get {"error":"conflict","reason":"Document update conflict."} from the following DELETE (which I copied out of Chrome dev tools). Specifying ?rev=0-1 doesn't make any difference, but I suspect I'm not doing that quite right. Thanks for the help! curl "http://localhost:5984/estante0403a/_local/updatepref" -X DELETE -H "Cookie: AuthSession=YmRyaG9hOjUxNURGNjQyOtZG0P2upJMFTrn6Ulw-2MBXWrF6" -H "Origin: http://localhost:5984" -H "Accept-Encoding: gzip,deflate,sdch" -H "Host: localhost:5984" -H "Accept-Language: en-US,en;q=0.8" -H "User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_3) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.43 Safari/537.31" -H "Content-Type: application/json" -H "Accept: */*" -H "Referer: http://localhost:5984/estante0403a/_design/library/about.html" -H "X-Requested-With: XMLHttpRequest" -H "Connection: keep-alive" -H "DNT: 1" -H "Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3" --------------------------- www.maf.org/rhoads www.ontherhoads.org --14dae93991633bac0204d9916752--