I've got concerns about the proposed API for the new buffer_response option. I have no issues with the intended behaviour or the chttp config option, but the choice of using a URL query parameter to control it when using the option "per request" seems unusual to me.
As per HTTP spec https://tools.ietf.org/html/rfc7231#section-5 "A client sends request header fields to ... **or modify the expected request processing**." As per URL spec https://tools.ietf.org/html/rfc3986#section-3.4 "The query component contains non-hierarchical data that, along with data in the path component (Section 3.3), **serves to identify a resource** within the scope of the URI's scheme" Since this is a directive controlling the request processing on the server and is unrelated to identifying the resources it seems to me that the proposal is counter-intuitive to the specs and the option would be better placed in a header than a URL query parameter. It's not clear to me if there is some technical reason why a query parameter is preferable here or if this is perhaps following some (unknown to me) API convention or existing Couch API precedent (the closest thing I could think of was the r & w quorum options). Could anyone explain the API design choice to me or does anyone else have any concerns about this? Thanks, Rich From: Joan Touzet <woh...@apache.org> To: CouchDB Developers <dev@couchdb.apache.org> Date: 11/09/2020 23:53 Subject: [EXTERNAL] [VOTE] Release Apache CouchDB 3.1.1 (RC2) Dear community, I would like to propose that we release Apache CouchDB 3.1.1. Changes since the last round: https://github.com/apache/couchdb/compare/3.1.1-RC1...3.1.1-RC2 Candidate release notes: https://docs.couchdb.org/en/latest/whatsnew/3.1.html We encourage the whole community to download and test these release artefacts so that any critical issues can be resolved before the release is made. Everyone is free to vote on this release, so dig right in! (Only PMC members have binding votes, but they depend on community feedback to gauge if an official release is ready to be made.) The release artefacts we are voting on are available here: https://dist.apache.org/repos/dist/dev/couchdb/source/3.1.1/rc.2/ There, you will find a tarball, a GPG signature, and SHA256/SHA512 checksums. Please follow the test procedure here: https://cwiki.apache.org/confluence/display/COUCHDB/Testing+a+Source+Release Please remember that "RC2" is an annotation. If the vote passes, these artefacts will be released as Apache CouchDB 3.1.1. Because of the weekend, this vote will remain open until 5PM ET (UTC-4), Tuesday, 15 September 2020. Please cast your votes now. Thanks, Joan "once more unto the breech, dear friends" Touzet Unless stated otherwise above: IBM United Kingdom Limited - Registered in England and Wales with number 741598. Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU