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 4A4731041F for ; Wed, 4 Sep 2013 23:49:06 +0000 (UTC) Received: (qmail 51187 invoked by uid 500); 4 Sep 2013 23:49:05 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 51146 invoked by uid 500); 4 Sep 2013 23:49:04 -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 51138 invoked by uid 99); 4 Sep 2013 23:49:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Sep 2013 23:49:04 +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 (nike.apache.org: domain of kxepal@gmail.com designates 74.125.82.179 as permitted sender) Received: from [74.125.82.179] (HELO mail-we0-f179.google.com) (74.125.82.179) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Sep 2013 23:48:58 +0000 Received: by mail-we0-f179.google.com with SMTP id q57so4370wes.38 for ; Wed, 04 Sep 2013 16:48:38 -0700 (PDT) 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=P0hW6ORzKd4NPE+9WYrj5hrFViNXrq1BAGi/8TYeMQY=; b=cVTmUxH+4EpjgBStt04BXoMXetUQfT0gfHkK3QiUgHCIXKqFaj3cL/i2EcrQW/6zk4 3RlcKdrHrBL78RyNyruMdlUduhYhRNPqKdCSJ8PFsEmYhkJo38+UHnp7hMeB38xpUMZl HWD+T71qMFesyPEOLP68dlpprV5rt8B8gxsO8+KqU7Fy1gOXuEjBZDZb8s2sZPoC+ZWJ Cv5ODQ3+E5OhqI/iEovBcLKn/2uLvZGDxHjkY+YHtvL9X69jI9KosLgG5j+0F9nxOppI shxAYaSfdFB1/akPO6bDlAMAZaYlwri+Nub8Ih6xRd0H8Yv85NTdTAAh/QQ+vWsTEUma cW0A== MIME-Version: 1.0 X-Received: by 10.180.210.243 with SMTP id mx19mr4007699wic.35.1378338518349; Wed, 04 Sep 2013 16:48:38 -0700 (PDT) Received: by 10.180.80.1 with HTTP; Wed, 4 Sep 2013 16:48:38 -0700 (PDT) In-Reply-To: References: Date: Thu, 5 Sep 2013 03:48:38 +0400 Message-ID: Subject: Re: Views return content type plain text From: Alexander Shorin To: "user@couchdb.apache.org" Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked by ClamAV on apache.org Checkout request's Accept header. It should have `application/json` value to let CouchDB make response with the same content type. In case of wildcard or missed accept CouchDB always returns text/plain response. -- ,,,^..^,,, On Thu, Sep 5, 2013 at 3:43 AM, Stanley Iriele wrote: > Hey all, > > Is there any particular reason couchdb views return content type. > Text/plain. Instead of application json. Even though they always return > json. .it's not blocking anything....I've just been wondering this for a > while now, > > Regards, > > Stanley