Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 19350 invoked from network); 26 Sep 2010 16:25:06 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 26 Sep 2010 16:25:06 -0000 Received: (qmail 34739 invoked by uid 500); 26 Sep 2010 16:25:04 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 34192 invoked by uid 500); 26 Sep 2010 16:25:03 -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 34044 invoked by uid 99); 26 Sep 2010 16:25:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 26 Sep 2010 16:25:03 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jchris@gmail.com designates 209.85.216.180 as permitted sender) Received: from [209.85.216.180] (HELO mail-qy0-f180.google.com) (209.85.216.180) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 26 Sep 2010 16:24:59 +0000 Received: by qyk5 with SMTP id 5so6454887qyk.11 for ; Sun, 26 Sep 2010 09:24:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:content-type; bh=c3bG5CxYG6yj8rwyKFVgxj0dcGr20+adji8Wp3Tn9nA=; b=Wg0GO0T4r3t84xMkd29S00PfpzqHArkXti7HFIu8WLY6dk7r2tipXVwgnsTZPBTTMZ rQ+oQxCFkjFEVi9/XuCoi+8lfN/oolzxh73QvLQbFqcM56aPf4wSNVuwtbSiai1DanAe twDoztGL8ccdf2OYzoAQczkelx+GLyUiYlPF8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; b=qJxgMEA2diakmVP4SubSZ/9zGZ/R1HK7Ct/Mza1sOXlvgY/5gpLsItR4Y7FUMzrXAm MK5ivAxoI9kQUy4X4NRvygKn7JmQEhQnFgtTuN6C0Cz2najY3NOCnK5suMPIzgPBPmlq lxtARmiX4neupwNR8i77760eHLrg/bPw5Pczw= MIME-Version: 1.0 Received: by 10.224.27.3 with SMTP id g3mr4499124qac.229.1285518278334; Sun, 26 Sep 2010 09:24:38 -0700 (PDT) Sender: jchris@gmail.com Received: by 10.220.42.4 with HTTP; Sun, 26 Sep 2010 09:24:38 -0700 (PDT) In-Reply-To: <4C9A65CE.7000300@sandia.gov> References: <4C9A65CE.7000300@sandia.gov> Date: Sun, 26 Sep 2010 09:24:38 -0700 X-Google-Sender-Auth: DM0-QcfMetkMD2tHGBp167JPv_8 Message-ID: Subject: Re: Accessing attachments from a show function? From: Chris Anderson To: user@couchdb.apache.org Content-Type: text/plain; charset=ISO-8859-1 On Wed, Sep 22, 2010 at 1:23 PM, Timothy Shead wrote: > Is there any way to access a document's attachments (the actual bytes, not > just the attachment metadata) from within a show function? > Sorry, there is not -- the query server isn't sent attachments as that would just be too much data for it to process. I'd be open to a patch to make show function requests respect ?attachments=true if anyone wants to work on it. Chris > Thanks in advance, > Tim > > -- > Timothy M. Shead > Sandia National Laboratories > 1424, Data Analysis and Visualization > > -- Chris Anderson http://jchrisa.net http://couch.io