couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Cottlehuber (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (COUCHDB-1198) More requests that produce wacky or unhelpful responses
Date Mon, 01 Jul 2013 09:46:21 GMT

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

Dave Cottlehuber commented on COUCHDB-1198:
-------------------------------------------

aaah git show b2aa508a3ed7bf337aa82dfd4645765a49a327ad looks like a suitable approach.
                
> More requests that produce wacky or unhelpful responses
> -------------------------------------------------------
>
>                 Key: COUCHDB-1198
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1198
>             Project: CouchDB
>          Issue Type: Bug
>            Reporter: Chris Wilson
>
> curl -d "{}" -H "Content-Type: application/json"  -X POST http://127.0.0.1:5984/foo/_bulk_docs

> {"error":"unknown_error","reason":"function_clause"}
> curl -d '{"docs": [null]}' -H "Content-Type: application/json"  -X POST http://127.0.0.1:5984/foo/_bulk_docs

> {"error":"unknown_error","reason":"function_clause"}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message