Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 55807 invoked from network); 19 Oct 2010 13:54:57 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 19 Oct 2010 13:54:57 -0000 Received: (qmail 99062 invoked by uid 500); 19 Oct 2010 13:54:55 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 99011 invoked by uid 500); 19 Oct 2010 13:54:54 -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 98998 invoked by uid 99); 19 Oct 2010 13:54:53 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Oct 2010 13:54:53 +0000 X-ASF-Spam-Status: No, hits=2.9 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.85.214.180] (HELO mail-iw0-f180.google.com) (209.85.214.180) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Oct 2010 13:54:45 +0000 Received: by iwn41 with SMTP id 41so1414860iwn.11 for ; Tue, 19 Oct 2010 06:54:24 -0700 (PDT) MIME-Version: 1.0 Received: by 10.231.35.66 with SMTP id o2mr4801786ibd.30.1287496464216; Tue, 19 Oct 2010 06:54:24 -0700 (PDT) Received: by 10.231.35.66 with HTTP; Tue, 19 Oct 2010 06:54:24 -0700 (PDT) Received: by 10.231.35.66 with HTTP; Tue, 19 Oct 2010 06:54:24 -0700 (PDT) In-Reply-To: References: <4cbd82b4.5907df0a.34c6.64c0@mx.google.com> Date: Tue, 19 Oct 2010 15:54:24 +0200 Message-ID: Subject: Re: DELETE doc without rev From: =?UTF-8?Q?Johannes_J=C3=B6rg_Schmidt?= To: user@couchdb.apache.org Content-Type: multipart/alternative; boundary=0003255738066634650492f8a1ee X-Virus-Checked: Checked by ClamAV on apache.org --0003255738066634650492f8a1ee Content-Type: text/plain; charset=UTF-8 You could write an update function which sets doc._delete to true. This way you can delete a document sending only one request. Greetings Johannes Am 19.10.2010 15:30 schrieb "Matt Goodall" : > On 19 October 2010 12:35, Alex Ivasyuv wrote: > > Thanks Matt for reply, but question still exist, is there some way to > delete > > doc in ONE request without mentioned revision. In your example I need to > > make a GET request first. > > It's not possible in 1 request. As I said, you must provide the current > _rev. > > - Matt > > > > > Thanks, > > > > Sent from my HTC > > > > ----- Reply message ----- > > From: "Matt Goodall" > > Date: Tue, Oct 19, 2010 2:04 pm > > Subject: DELETE doc without rev > > To: > > > > > On 19 October 2010 11:39, Alex Ivasyuv wrote: > >> Hi, > >> > >> I would like to... > --0003255738066634650492f8a1ee--