Robert Newson created COUCHDB-3198:
--------------------------------------
Summary: Improve _bulk_get error handling
Key: COUCHDB-3198
URL: https://issues.apache.org/jira/browse/COUCHDB-3198
Project: CouchDB
Issue Type: Bug
Reporter: Robert Newson
By passing request bodies like;
{"docs":12}
{"docs":[12]}
it's possible to get a 500 error from couchdb. Worse, we send that 500 error as
a chunk of an already started 200 response, which clients handle poorly.
As I looked into this, we also allow;
{"docs":[{}]}
and then complain that the object has no "id" attribute in the 200 response
body.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)