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 2C52B10568 for ; Wed, 8 Jan 2014 21:52:37 +0000 (UTC) Received: (qmail 14632 invoked by uid 500); 8 Jan 2014 21:52:35 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 14592 invoked by uid 500); 8 Jan 2014 21:52:35 -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 14583 invoked by uid 99); 8 Jan 2014 21:52:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Jan 2014 21:52:35 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of kxepal@gmail.com designates 209.85.212.171 as permitted sender) Received: from [209.85.212.171] (HELO mail-wi0-f171.google.com) (209.85.212.171) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Jan 2014 21:52:31 +0000 Received: by mail-wi0-f171.google.com with SMTP id bz8so6158613wib.10 for ; Wed, 08 Jan 2014 13:52:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=nu4fNHmrLexDqBoudPRmfcN3aaZ/Qvx2+iLnJ46f1lA=; b=tWa54P+IZ4OpOZOCqYmcVYB5m9m6GpA2y0TilBCgz6jUueybyQznnGuxpfiU0sAI+8 t/lG0hbjnnzeRXUrxeLqM22WVA3JQfOjy1ASjly5rr8MLoAu2zavQKDL6mjTvHMyzvqB DKdkBuHuK1guSg/nDW/KbG9adKgRkJbktbE3KMjcYA76hhne/oA7whWpsYbjIhHWlNVa iCnbdbZhdfjJxpt2bvoukQuuDBEy1U9x5fBiWL0QS32T4urDvV4ny2hYuxOM8dpr3cp9 L6jXAQ9Ten/j+rzg5+HAvzCEmABTuC3y+I2I273xaA3XsEHHJFg8g0ckui7DsLkGaRud 2PTg== MIME-Version: 1.0 X-Received: by 10.180.21.244 with SMTP id y20mr23707168wie.37.1389217930637; Wed, 08 Jan 2014 13:52:10 -0800 (PST) Received: by 10.180.77.233 with HTTP; Wed, 8 Jan 2014 13:52:10 -0800 (PST) In-Reply-To: References: Date: Thu, 9 Jan 2014 01:52:10 +0400 Message-ID: Subject: Re: CouchDB: Content Type Header for Show Function From: Alexander Shorin To: "user@couchdb.apache.org" Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked by ClamAV on apache.org http://docs.couchdb.org/en/latest/couchapp/ddocs.html#show-functions -- ,,,^..^,,, On Thu, Jan 9, 2014 at 1:47 AM, Hank Knight wrote: > Here is my show function: > https://zuhqtr5.couchappy.com/test/show/show.txt > > Here is what it does: > https://zuhqtr5.couchappy.com/test/_design/showtimestamp/_show/serverTime > > How can I add a custom content header to this show function so > Content-Type: application/javascript > is sent with the headers?