couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nick North (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (COUCHDB-1685) POSTing multipart/related to a database doesn't create a document
Date Tue, 29 Oct 2013 08:36:37 GMT

    [ https://issues.apache.org/jira/browse/COUCHDB-1685?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13807790#comment-13807790
] 

Nick North commented on COUCHDB-1685:
-------------------------------------

Thanks to [~janl] for reviewing the pull request. I hope the code is now ready for merging.
(The Travis build failed, but that seems to be to do with plug-ins.)

> 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#6144)

Mime
View raw message