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 29849D310 for ; Wed, 6 Mar 2013 13:22:17 +0000 (UTC) Received: (qmail 48508 invoked by uid 500); 6 Mar 2013 13:22:15 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 48312 invoked by uid 500); 6 Mar 2013 13:22: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 47811 invoked by uid 99); 6 Mar 2013 13:22:14 -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:22:14 +0000 Date: Wed, 6 Mar 2013 13:22:14 +0000 (UTC) From: "Benoit Chesneau (JIRA)" To: dev@couchdb.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (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 [ https://issues.apache.org/jira/browse/COUCHDB-1685?page=3Dcom.atlassi= an.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D13= 594694#comment-13594694 ]=20 Benoit Chesneau commented on COUCHDB-1685: ------------------------------------------ You mean POST /db some multipart content? =20 > POSTing multipart/related to a database doesn't create 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.= It's an atomic operation. > But POST to a database with a multipart/related doesn't. The response err= or 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