Github user kxepal commented on the pull request:

    https://github.com/apache/couchdb-chttpd/pull/33#issuecomment-98407945
  
    @nolanlawson 
    
    > Shouldn't application/json be the expected default?
    
    I think it should. Good point!
    
    > curl -X POST "127.0.0.1:15984/mydb/_bulk_get" -H 
'content-type:application/json' --data-binary '{"revs": true, 
"docs":[{"id":"foo","rev":"1-967a00dff5e02add41819138abb3284d"}]}'
    
    `revs` need to be passed as query parameter, not in payload. In you request 
it just being ignored.
    
    > Also: it seems impossible to specify attachments anywhere (keep in mind 
that PouchDB has not implemented atts_since yet). This seems to be a blocker 
bug that would make us unable to use your implementation.
    
    Well, this is blocker bug for PouchDB to sync with Couchbase as well as 
they don't declare attachments query parameter as the one that accepted for 
/_bulk_get endpoint. I can make it work (thought, I wonder why it don't - 
didn't check yet), but that would be deviation from the original spec.
    



---
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.
---

Reply via email to