chewbranca commented on issue #820: Add support for queries in /{db}/_all_docs 
POST
URL: https://github.com/apache/couchdb/issues/820#issuecomment-363596935
 
 
   Bubbling up some thoughts from an irc discussion about this with @wohali, 
@rnewson, and myself. It's worth noting that we already support the 
multi-queries approach in the `_view` API, so the functionality reverted in 
#1143 was actually consistent with existing API precedent. If folks feel 
strongly enough about separating out the multi query logic into dedicated API 
endpoints, I think it makes sense to do the same for views as well for 
consistency.
   
   @rnewson pointed out an alternative option would be to use the 
`Content-Type` response header to declare the response body format. This would 
provide a deterministic way for static languages to understand the response 
body by what's declared in the headers. It could be ` x-vnd.couchdb.view vs 
x-vnd.couchdb.multi-query` or whatever.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to