You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Nick North (JIRA)" <ji...@apache.org> on 2014/01/26 14:16:38 UTC
[jira] [Commented] (COUCHDB-1685) POSTing multipart/related to a
database doesn't create a document
[ https://issues.apache.org/jira/browse/COUCHDB-1685?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13882290#comment-13882290 ]
Nick North commented on COUCHDB-1685:
-------------------------------------
Following build problems with PR 91, I will close that request. The code has been resubmitted in https://github.com/apache/couchdb/pull/138.
> 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ão 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 error is:
> {
> "error":"bad_content_type",
> "reason":"Content-Type must be application/json"
> }
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)