Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 76738 invoked from network); 25 Jul 2010 15:28:25 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 25 Jul 2010 15:28:25 -0000 Received: (qmail 71334 invoked by uid 500); 25 Jul 2010 15:28:24 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 71248 invoked by uid 500); 25 Jul 2010 15:28:23 -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 71240 invoked by uid 99); 25 Jul 2010 15:28:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 25 Jul 2010 15:28:23 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jchris@gmail.com designates 209.85.212.180 as permitted sender) Received: from [209.85.212.180] (HELO mail-px0-f180.google.com) (209.85.212.180) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 25 Jul 2010 15:28:15 +0000 Received: by pxi3 with SMTP id 3so9341702pxi.11 for ; Sun, 25 Jul 2010 08:27:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:content-type:mime-version :subject:from:in-reply-to:date:content-transfer-encoding:message-id :references:to:x-mailer; bh=t7q2hY9JEZlw3IbD2uP72VHlY1lxlyE3uZOke5fB2zM=; b=jHzdY87C/FRA/n6vrbSbyC5MUAFwK/XKOWB5h2jNE6lOUVgowl3oB2phEG1SL6uP02 snbSefks24epgyUlajxMJDMpwiC1X5vNZIuqARC/YKFmKTFqhd0y3u8Qpx7lUl1+xAiu L2hk37vT55GvIAg/xu5iFGqocy3N+l1djEcDE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; b=c4+CTMdT7nm+ndy9i6EM2DqntJOIwBYSYJcfC8iFGJzk32aX7WUbtIlBeN9i9cJshM OJuC3bCuXm94yfJeG9YxXwzEcNB4G71MBylBos0g8vXWZ0cDtNmis2JH1Jp+TKrtA4vt d5sJb+tU7hkGXmBnjP6rMHzntEd8wEmvSsagg= Received: by 10.114.196.9 with SMTP id t9mr9414688waf.159.1280071675052; Sun, 25 Jul 2010 08:27:55 -0700 (PDT) Received: from [192.168.1.102] (c-98-248-172-14.hsd1.ca.comcast.net [98.248.172.14]) by mx.google.com with ESMTPS id x9sm4713048waj.3.2010.07.25.08.27.53 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 25 Jul 2010 08:27:54 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1081) Subject: Re: posting to _bulk_docs throws Unsupported Media Type error From: J Chris Anderson In-Reply-To: Date: Sun, 25 Jul 2010 08:27:52 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: References: To: user@couchdb.apache.org X-Mailer: Apple Mail (2.1081) On Jul 24, 2010, at 11:05 PM, Manokaran K wrote: > On Sun, Jul 25, 2010 at 11:08 AM, Randall Leeds = wrote: >=20 >> I should add, with curl this is -H"Content-Type: application/json" >>=20 >>=20 > Thanks :-) That solved the issue. >=20 > I followed what was shown here: > http://wiki.apache.org/couchdb/HTTP_Bulk_Document_API . Has this = changed in > CouchDB 1.0? I have a ruby script (using CouchRest) to post bulk_docs = to a > demo couchdb db. It works in CouchDB 0.11 but fails in 1.0!! >=20 Yes this change is new in 0.11.1 and 1.0 The latest version of CouchRest should be updated to support it. Chris > thanks, > mano