garrensmith commented on a change in pull request #605: Add Prefer: 
return=minimal support
URL: https://github.com/apache/couchdb/pull/605#discussion_r130832590
 
 

 ##########
 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:
   I don't think CORS is required since this is for non-browser clients. I 
agree with Paul around needing the auth headers, don't use this header when you 
need 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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to