Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
None
-
None
-
None
-
None
Description
Upgrading client library to be compatible with 2.0. When running tests it fails since I no longer get ETag in the response headers when performing GET against a view index.
Docs says it should: http://docs.couchdb.org/en/2.0.0/api/ddoc/views.html?highlight=etag
Map function:
function(doc) { if (doc.$doctype !== 'artist') return; emit(doc.name, null); }
Request:
GET /mycouchtests_pri/_design/artists/_view/name_no_value?include_docs=true HTTP/1.1
Host: dev01:5984
Authorization: Basic ZGV2OjFxMnczZTRy
Cache-Control: no-cache
Response headers:
Cache-Control →must-revalidate Content-Type →application/json Date →Sun, 19 Mar 2017 09:32:03 GMT Server →CouchDB/2.0.0 (Erlang OTP/17) Transfer-Encoding →chunked X-Couch-Request-ID →61ce66d480 X-CouchDB-Body-Time →0