Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 86716 invoked from network); 25 Oct 2009 19:40:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 25 Oct 2009 19:40:55 -0000 Received: (qmail 44162 invoked by uid 500); 25 Oct 2009 19:40:53 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 44070 invoked by uid 500); 25 Oct 2009 19:40:53 -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 44060 invoked by uid 99); 25 Oct 2009 19:40:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 25 Oct 2009 19:40:53 +0000 X-ASF-Spam-Status: No, hits=0.8 required=5.0 tests=AWL,BAYES_00,MSGID_MULTIPLE_AT,RCVD_IN_SORBS_WEB X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [89.36.166.90] (HELO mail.ro1-jdhosting.net) (89.36.166.90) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 25 Oct 2009 19:40:50 +0000 Received: from LygosPC ([92.82.88.46]) by ro1-jdhosting.net with MailEnable ESMTP; Sun, 25 Oct 2009 21:40:05 +0200 From: "Sebastian Negomireanu" To: References: <8502178921300477607@unknownmsgid> In-Reply-To: Subject: RE: COPY bug Date: Sun, 25 Oct 2009 21:40:35 +0200 Message-ID: <001501ca55ab$06a0f1e0$13e2d5a0$@negomireanu@justdesign.ro> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook 12.0 Content-Language: en-us Thread-Index: AcpVmOKvFwv0FZ1wT6enLTscOV8ucwAEd50g X-ME-Bayesian: 0.000000 The documentation I'm looking at is here: http://wiki.apache.org/couchdb/HTTP_Document_API You just need to scroll down to the COPY command. The response in the documentation is: HTTP/1.1 201 Created Server: CouchDB/0.9.0a730122-incubating (Erlang OTP/R12B) Etag: "355068078" Date: Mon, 05 Jan 2009 11:12:49 GMT Content-Type: text/plain;charset=3Dutf-8 Content-Length: 41 Cache-Control: must-revalidate {"ok":true,"id":"some_other_doc","rev":"355068078"} -----Original Message----- From: Paul Davis [mailto:paul.joseph.davis@gmail.com]=20 Sent: Sunday, October 25, 2009 7:30 PM To: user@couchdb.apache.org Subject: Re: COPY bug Sebastian, There doesn't appear to be anything in the code to return {ok:true, ...} as you mention. Can you paste a link to the docs? It could be that we dropped the flag in a refactor. This is a less than one line patch to fix, does anyone have any insight on to what's proper? Paul Davis Note to future self: Line 785 in couch_httpd_db.erl On Sun, Oct 25, 2009 at 8:27 AM, Sebastian Negomireanu wrote: > Hello, > > > > I am running the Windows version of CouchDB. It seems that when I = perform a > COPY operation the result does not contain the ok=3Dtrue pair, only = the id and > rev values. Is this by design or is it a bug (the documentation says = that it > should also return the ok value)? > > > > =A0_____ > > Best regards, > Sebastian Negomireanu | CTO / Managing Partner JustDesign Sibiu, = Romania > +40-726-181186 | +40-788-757462 > =A0 > sebastian.negomireanu@justdesign.ro > > SC JustDesign SRL | Str. Dorului 20, 550352, Sibiu, Romania > +40-269-210008 | =A0 office@justdesign.ro = | > www.justdesign.ro > > The information contained in this e-mail is intended only for the ones = to > which it is addressed, and contains information which is confidential = and > may be privileged. Unauthorized disclosure, copying or use (of any = part) of > this information is prohibited. If you are not the intended recipient, > please notify the sender or Just Design SRL by return e-mail or = telephone > (+40-269-210008) and delete this e-mail from your system, including = any > attachments thereto. Any information in this message that does not = relate to > the official business of Just Design SRL shall be understood as = neither > given nor endorsed by it. Internet communications are not secure, therefore > Just Design SRL does not accept any liability for either the contents = of > this message, or any damage related to documents and/or data which are > communicated by e-mail. Violation of this notice may be unlawful. > > > >