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 CAA4430A2 for ; Sun, 8 May 2011 22:19:19 +0000 (UTC) Received: (qmail 25781 invoked by uid 500); 8 May 2011 22:19:18 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 25744 invoked by uid 500); 8 May 2011 22:19:18 -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 25736 invoked by uid 99); 8 May 2011 22:19:18 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 08 May 2011 22:19:18 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of leccine@gmail.com designates 209.85.220.180 as permitted sender) Received: from [209.85.220.180] (HELO mail-vx0-f180.google.com) (209.85.220.180) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 08 May 2011 22:19:11 +0000 Received: by vxk12 with SMTP id 12so8013491vxk.11 for ; Sun, 08 May 2011 15:18:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=ZlOr1dAvCy9S86CqjEN/YJGodMcf9btWAcU7QUP8F8k=; b=mUsZxfFwQD3pR5NOVDH9ArKmfFcAi8ByDKGm4DRyebl8Ys7afUFp+0i6G7yv/Vtx5l 7oivyrkwdJVwPMRUOkr6CwEpe7p8D+Ttk9Ka8mLyFtsPXGlM1MA+EvG2BfcpXzSPItNJ TyZY1/ZDNUig1XrazaEZ0EegKeq72Yuh6lRbM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=JkCMkm+olcZyxk707xPWetoumcrR1hj1z0agFl8lCZTPjalH2/EDbEoekblwphruOb hgd5sHefP328MGN6WL5igcTQN/6rwd5upP6XFGv6iEq3kS1s4t8F9WcY0/cf/jVqcP1w ZVadGucbHwWtFdwZsQxkpjtccBzS89QxfaxfE= MIME-Version: 1.0 Received: by 10.52.173.176 with SMTP id bl16mr3041385vdc.41.1304893130505; Sun, 08 May 2011 15:18:50 -0700 (PDT) Received: by 10.52.186.1 with HTTP; Sun, 8 May 2011 15:18:50 -0700 (PDT) In-Reply-To: References: Date: Sun, 8 May 2011 23:18:50 +0100 Message-ID: Subject: Re: how to change the default content-type From: =?UTF-8?Q?Istv=C3=A1n?= To: user Content-Type: multipart/alternative; boundary=bcaec51ba477837cc304a2cb1b27 X-Virus-Checked: Checked by ClamAV on apache.org --bcaec51ba477837cc304a2cb1b27 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable This is why it would be good to able to configure the __default__ behavior. On Sat, May 7, 2011 at 7:54 PM, Benoit Chesneau wrote= : > On Sat, May 7, 2011 at 6:12 PM, Istv=C3=A1n wrote: > > $ curl -D - -X GET -H "Content-Type: application/json" > > http://couch.nohup.hu/nohup_urls/c08b5c2c03d31ee767ab891223000d72 > > HTTP/1.1 200 OK > > Server: nginx/1.0.0 > > Date: Sat, 07 May 2011 16:11:57 GMT > > Content-Type: text/plain;charset=3Dutf-8 > > Connection: keep-alive > > Vary: Accept-Encoding > > Etag: "1-e643d169eb8593e9354012fb7a082605" > > Content-Length: 209 > > Cache-Control: must-revalidate > > > > I would like the change the _default_ behavior to application/json > > > > I. > > > We are sending json not text. > --=20 the sun shines for all --bcaec51ba477837cc304a2cb1b27--