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 A711A10B18 for ; Thu, 5 Dec 2013 18:05:36 +0000 (UTC) Received: (qmail 46157 invoked by uid 500); 5 Dec 2013 18:05:34 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 46090 invoked by uid 500); 5 Dec 2013 18:05:28 -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 46077 invoked by uid 99); 5 Dec 2013 18:05:26 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Dec 2013 18:05:26 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jens@couchbase.com designates 206.225.164.28 as permitted sender) Received: from [206.225.164.28] (HELO EXHUB020-1.exch020.serverdata.net) (206.225.164.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Dec 2013 18:05:21 +0000 Received: from EXVMBX020-1.exch020.serverdata.net ([169.254.4.179]) by EXHUB020-1.exch020.serverdata.net ([206.225.164.28]) with mapi; Thu, 5 Dec 2013 10:04:59 -0800 From: Jens Alfke To: "user@couchdb.apache.org" CC: Garren Smith Date: Thu, 5 Dec 2013 10:04:59 -0800 Subject: Re: What would be the best way to exactly duplicate a document, with attachments? Thread-Topic: What would be the best way to exactly duplicate a document, with attachments? Thread-Index: Ac7x5IL+JaaDq+cGSYuccE+4HorPcA== Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org On Dec 4, 2013, at 11:46 PM, Daniel Gonzalez wrote: > I have remembered that I can get all attachments (no stubs) at once with > attachments=3Dtrue, and that is exactly what I need. Yup. I can=92t recall if that returns JSON or MIME-multipart by default; if= the former, try adding a request header =93Accept: multipart/*=94 to get t= he more compact multipart format. =97Jens=