davisp commented on a change in pull request #605: Add Prefer: return=minimal
support
URL: https://github.com/apache/couchdb/pull/605#discussion_r130407831
##########
File path: rel/overlay/etc/default.ini
##########
@@ -57,6 +57,9 @@ backlog = 512
docroot = {{fauxton_root}}
socket_options = [{recbuf, 262144}, {sndbuf, 262144}, {nodelay, true}]
require_valid_user = false
+; List of headers that will be kept when the header Prefer: return=minimal is
included in a request.
+; If Server header is left out, Mochiweb will add its own one in.
+prefer_minimal = Cache-Control, Content-Length, Content-Type, ETag, Server,
Vary
Review comment:
Agree on Transfer-Encoding and Content-Range. For cooking and authentication
headers I think not since this is aimed at non-browser clients and those are
both for browsers (and or, non browsers would just have to be smart enough to
not request it when they need to get a cookie.
----------------------------------------------------------------
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