You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/04/29 21:21:06 UTC
[jira] [Commented] (COUCHDB-2650) Etag is 'undefined' when
_all_docs
[ https://issues.apache.org/jira/browse/COUCHDB-2650?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14520009#comment-14520009 ]
ASF GitHub Bot commented on COUCHDB-2650:
-----------------------------------------
GitHub user iilyak opened a pull request:
https://github.com/apache/couchdb-chttpd/pull/34
Handle Etag generation in one place
COUCHDB-2650
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/iilyak/couchdb-chttpd 2650-etag-fixes
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/couchdb-chttpd/pull/34.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #34
----
commit 98a372680c1251fce47c5af8da931be409d9756a
Author: ILYA Khlopotov <ii...@ca.ibm.com>
Date: 2015-04-29T18:39:55Z
Handle Etag generation in one place
COUCHDB-2650
----
> Etag is 'undefined' when _all_docs
> ----------------------------------
>
> Key: COUCHDB-2650
> URL: https://issues.apache.org/jira/browse/COUCHDB-2650
> Project: CouchDB
> Issue Type: Bug
> Security Level: public(Regular issues)
> Reporter: ILYA
> Assignee: ILYA
> Priority: Minor
>
> Steps to reproduce
> http --json --auth='adm:pass' PUT 'http://localhost:15984/test_db'
> http -v --json --auth='adm:pass' GET 'http://localhost:15984/test_db/_all_docs'
> HTTP/1.1 200 OK
> Cache-Control: must-revalidate
> Content-Type: application/json
> Date: Thu, 26 Mar 2015 15:21:56 GMT
> ETag: undefined
> Server: CouchDB/b6d8665 (Erlang OTP/17)
> Transfer-Encoding: chunked
> X-Couch-Request-ID: 2f7f8320
> X-CouchDB-Body-Time: 0
> {
> "offset": 0,
> "rows": [],
> "total_rows": 0
> }
> The cause of this is in the following line https://github.com/apache/couchdb-couch-mrview/blob/master/src/couch_mrview_http.erl#L331
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)