Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 67910 invoked from network); 25 Jul 2010 06:06:31 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 25 Jul 2010 06:06:31 -0000 Received: (qmail 32813 invoked by uid 500); 25 Jul 2010 06:06:30 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 32528 invoked by uid 500); 25 Jul 2010 06:06:27 -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 32520 invoked by uid 99); 25 Jul 2010 06:06:26 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 25 Jul 2010 06:06:26 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of manokaran@gmail.com designates 209.85.214.180 as permitted sender) Received: from [209.85.214.180] (HELO mail-iw0-f180.google.com) (209.85.214.180) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 25 Jul 2010 06:06:19 +0000 Received: by iwn8 with SMTP id 8so2504064iwn.11 for ; Sat, 24 Jul 2010 23:05:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=5QCbef5HBKiKR8439HjPixT5ruPbTpJD1kPItxo6t1Q=; b=bZBRSjbkMcg2m7WfmCj7pfU7yEuokXcLQjdWDZJ/dmomMhqrXOUNwylie1YiNZNQ/O ZQt/UZ9ybxZ7Req9Q0ohRlOMvVj4DITeVIjDaGsa8CdZoWlx1VEAOF4hMFY4szdnM1Iz C1gzor9u54ZA8vfv8BQGPPTTd5+MW2ELm8+hg= 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=iEzscDO3eOl3tyvyJhP3UMt4AG9f45YNQyBj/6nn6gsQALWUNBjyDZG7UGsuz24A8z tLWpWv5wNS5i+Q+3UAoXko0LHyX9zPIY1GsOxcLPl6i07AjMp6OZ9O08Hv5eIJeZFfjX FXhds0BvkiLe3j48SNOuR+AnUlDrsOt6g/dC4= MIME-Version: 1.0 Received: by 10.231.17.12 with SMTP id q12mr6143148iba.160.1280037957941; Sat, 24 Jul 2010 23:05:57 -0700 (PDT) Received: by 10.231.11.141 with HTTP; Sat, 24 Jul 2010 23:05:57 -0700 (PDT) In-Reply-To: References: Date: Sun, 25 Jul 2010 11:35:57 +0530 Message-ID: Subject: Re: posting to _bulk_docs throws Unsupported Media Type error From: Manokaran K To: user@couchdb.apache.org Content-Type: multipart/alternative; boundary=000325574b8ec83c3d048c300fed X-Virus-Checked: Checked by ClamAV on apache.org --000325574b8ec83c3d048c300fed Content-Type: text/plain; charset=ISO-8859-1 On Sun, Jul 25, 2010 at 11:08 AM, Randall Leeds wrote: > I should add, with curl this is -H"Content-Type: application/json" > > Thanks :-) That solved the issue. 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!! thanks, mano --000325574b8ec83c3d048c300fed--