couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Shorin <kxe...@gmail.com>
Subject Re: CouchDB: Content Type Header for Show Function
Date Wed, 08 Jan 2014 21:52:10 GMT
http://docs.couchdb.org/en/latest/couchapp/ddocs.html#show-functions

--
,,,^..^,,,


On Thu, Jan 9, 2014 at 1:47 AM, Hank Knight <hknight555@gmail.com> 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?

Mime
View raw message