Return-Path: X-Original-To: apmail-couchdb-dev-archive@www.apache.org Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id F1DEAD2E4 for ; Wed, 6 Mar 2013 13:16:16 +0000 (UTC) Received: (qmail 27157 invoked by uid 500); 6 Mar 2013 13:16:15 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 26964 invoked by uid 500); 6 Mar 2013 13:16:15 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 26861 invoked by uid 99); 6 Mar 2013 13:16:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Mar 2013 13:16:13 +0000 Date: Wed, 6 Mar 2013 13:16:12 +0000 (UTC) From: =?utf-8?Q?Jo=C3=A3o_Barbosa_=28JIRA=29?= To: dev@couchdb.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (COUCHDB-1685) POSTing multipart/related to a database doesn't create a document MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Jo=C3=A3o Barbosa created COUCHDB-1685: ------------------------------------- Summary: POSTing multipart/related to a database doesn't creat= e a document Key: COUCHDB-1685 URL: https://issues.apache.org/jira/browse/COUCHDB-1685 Project: CouchDB Issue Type: Bug Reporter: Jo=C3=A3o Barbosa POST application/json to a database creates a document and assigns an id. I= t's an atomic operation. But POST to a database with a multipart/related doesn't. The response error= is: { "error":"bad_content_type", "reason":"Content-Type must be application/json" } -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs For more information on JIRA, see: http://www.atlassian.com/software/jira