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 0C8EDE39B for ; Wed, 6 Mar 2013 13:36:19 +0000 (UTC) Received: (qmail 92374 invoked by uid 500); 6 Mar 2013 13:36:18 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 92196 invoked by uid 500); 6 Mar 2013 13:36:18 -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 91915 invoked by uid 99); 6 Mar 2013 13:36:17 -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:36:17 +0000 Date: Wed, 6 Mar 2013 13:36:17 +0000 (UTC) From: "Jan Lehnardt (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= 594708#comment-13594708 ]=20 Jan Lehnardt commented on COUCHDB-1685: --------------------------------------- @benoit, good call, but I think that is beyond the scope of this ticket. =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