You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@couchdb.apache.org by Vishesh Mittal <vi...@platomedical.com> on 2017/01/17 16:29:32 UTC

Missing ETag in _view Headers

I just noticed that CouchDB 2.0 is not producing ETag values in _view
headers:








*HTTP/1.1 200 OKCache-Control: must-revalidateContent-Type:
application/jsonDate: Tue, 17 Jan 2017 16:26:16 GMTServer: CouchDB/2.0.0
(Erlang OTP/18)Transfer-Encoding: chunkedX-Couch-Request-ID:
974f35cd99X-CouchDB-Body-Time: 0*

Is this normal? The docs specify that all requests will have ETag:
http://docs.couchdb.org/en/2.0.0/api/ddoc/views.html?highlight=etag

Is there any way to activate that? Thanks

Vishesh

Re: Missing ETag in _view Headers

Posted by Robert Samuel Newson <rn...@apache.org>.
That is correct, views in 2.0 do not produce an ETag, see https://issues.apache.org/jira/browse/COUCHDB-2859. 

> On 17 Jan 2017, at 16:29, Vishesh Mittal <vi...@platomedical.com> wrote:
> 
> I just noticed that CouchDB 2.0 is not producing ETag values in _view
> headers:
> 
> 
> 
> 
> 
> 
> 
> 
> *HTTP/1.1 200 OKCache-Control: must-revalidateContent-Type:
> application/jsonDate: Tue, 17 Jan 2017 16:26:16 GMTServer: CouchDB/2.0.0
> (Erlang OTP/18)Transfer-Encoding: chunkedX-Couch-Request-ID:
> 974f35cd99X-CouchDB-Body-Time: 0*
> 
> Is this normal? The docs specify that all requests will have ETag:
> http://docs.couchdb.org/en/2.0.0/api/ddoc/views.html?highlight=etag
> 
> Is there any way to activate that? Thanks
> 
> Vishesh