Return-Path: X-Original-To: apmail-couchdb-dev-archive@www.apache.org Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BA917DD71 for ; Wed, 1 Aug 2012 08:44:44 +0000 (UTC) Received: (qmail 45341 invoked by uid 500); 1 Aug 2012 08:44:44 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 45284 invoked by uid 500); 1 Aug 2012 08:44:44 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 45251 invoked by uid 99); 1 Aug 2012 08:44:42 -0000 Received: from minotaur.apache.org (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Aug 2012 08:44:42 +0000 Received: from localhost (HELO [192.168.1.5]) (127.0.0.1) (smtp-auth username rnewson, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Aug 2012 08:44:42 +0000 Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Apple Message framework v1278) Subject: Re: include_atttachments=true & include_docs=true From: Robert Newson In-Reply-To: Date: Wed, 1 Aug 2012 09:44:42 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: References: To: dev@couchdb.apache.org X-Mailer: Apple Mail (2.1278) The attachment data would be streamed, not fully materialized into = memory, so the difference is the size of an attachment chunk (which is = under 8k iirc). B. On 1 Aug 2012, at 08:46, Benoit Chesneau wrote: > Hi, >=20 > I'm tempted to add support for an optional `include_attachments` query > parameter that will work with `include_docs=3Dtrue`. Purpose of this > parameter would be including the attachments in the included docs. > Which could be useful sometimes. Thoughts? >=20 > - beno=EEt