Github user kxepal commented on the pull request:
https://github.com/apache/couchdb-couch/pull/18#issuecomment-94789582
> I may be the only pouchdb bulk get user. A top level array is a little
better for streaming.
Agree about streaming.
> Does get return json for 404? That is what bulk get should do.
It cannot, because of streaming nature. Like /_bulk_docs, it sends response
status 200 and headers before any payload processing (otherwise you'll loose
streaming nature) what means that in case of any errors you cannot change
response status to 404 / 500 or whatever. All you can is to send error as
object in the response stream (as /_bulk_docs does). However, PouchDB-Get is
not able to handle such case and will count these errors as docs.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---