Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 92822 invoked from network); 25 Jan 2009 20:46:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 25 Jan 2009 20:46:58 -0000 Received: (qmail 27895 invoked by uid 500); 25 Jan 2009 20:46:51 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 27861 invoked by uid 500); 25 Jan 2009 20:46:51 -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 27850 invoked by uid 99); 25 Jan 2009 20:46:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 25 Jan 2009 12:46:51 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of antony.blakey@gmail.com designates 209.85.198.227 as permitted sender) Received: from [209.85.198.227] (HELO rv-out-0506.google.com) (209.85.198.227) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 25 Jan 2009 20:46:43 +0000 Received: by rv-out-0506.google.com with SMTP id g9so399465rvb.3 for ; Sun, 25 Jan 2009 12:46:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:mime-version :subject:date:references:x-mailer; bh=YIsgnhbBvT4lPaBvNXt+qmjaEOLP4gcPezjj6UeeJZU=; b=uyKMcZvqbFsKw/YpwYMZAld/Y+l/gSccpkkMW9ZY2T79HrfxpWyGnr70t8/UTDpDBy P6/3i0VxKWnTHXJL8mv1Ovse7putnFi4B1FSb/EXTUiZeGhFV84Zce6f8uAJszWLaKL4 26MQRB5wJi2/7q23k68XdwI1Jvq1o3/f1VUwY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-mailer; b=qwfQQQgG249fXLnTFe5cn5MnpApUyCOX3i68s0r3ycbjdmj7c1ZGer72SuEiMEmh8X 2dBuaItN+sX5LJlZjYsYanvNcBVAb8UgEZnzf7v6rbyjM3FVCYsuVmvH/4LS4a5s/ZpH 26TzRfvz2xYRBkYItueS1HeAjsRLg4ayD37WE= Received: by 10.141.194.21 with SMTP id w21mr997251rvp.230.1232916383047; Sun, 25 Jan 2009 12:46:23 -0800 (PST) Received: from ?192.168.0.16? (ppp121-45-81-35.lns10.adl6.internode.on.net [121.45.81.35]) by mx.google.com with ESMTPS id g22sm12375053rvb.1.2009.01.25.12.46.21 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 25 Jan 2009 12:46:22 -0800 (PST) Message-Id: <60DFADC6-2BEA-4B11-BC73-323B739EDF86@gmail.com> From: Antony Blakey To: user@couchdb.apache.org In-Reply-To: <20090125204130.GA26564@uk.tiscali.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v930.3) Subject: Re: Issue with null MIME type for attachments Date: Mon, 26 Jan 2009 07:16:18 +1030 References: <20090125164143.GA19119@uk.tiscali.com> <20090125204130.GA26564@uk.tiscali.com> X-Mailer: Apple Mail (2.930.3) X-Virus-Checked: Checked by ClamAV on apache.org On 26/01/2009, at 7:11 AM, Brian Candler wrote: > On Mon, Jan 26, 2009 at 06:49:53AM +1030, Antony Blakey wrote: >> Treat a supplied null as an error. > > Or indeed anything which is not a string. At the moment, arbitrary > JSON > values are accepted, such as > > "content_type":[{"foo":"bar"}] A bug, although I'm curious what mimetype is thereafter supplied by a GET on the attachment. Antony Blakey -------------------------- CTO, Linkuistics Pty Ltd Ph: 0438 840 787 Isn't it enough to see that a garden is beautiful without having to believe that there are fairies at the bottom of it too? -- Douglas Adams