couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From klaus_trai...@apache.org
Subject couch-mrview commit: updated refs/heads/master to 1c8a302
Date Wed, 04 Nov 2015 23:17:02 GMT
Repository: couchdb-couch-mrview
Updated Branches:
  refs/heads/master 2ec52eb3d -> 1c8a3026b


Don't set ETag header with value `undefined`

COUCHDB-2650


Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch-mrview/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch-mrview/commit/1c8a3026
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch-mrview/tree/1c8a3026
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-couch-mrview/diff/1c8a3026

Branch: refs/heads/master
Commit: 1c8a3026b2b695755a1fd39530276d4f90235ab2
Parents: 2ec52eb
Author: Klaus Trainer <klaus_trainer@posteo.de>
Authored: Wed Nov 4 23:53:36 2015 +0100
Committer: Klaus Trainer <klaus_trainer@posteo.de>
Committed: Wed Nov 4 23:53:36 2015 +0100

----------------------------------------------------------------------
 src/couch_mrview_http.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-couch-mrview/blob/1c8a3026/src/couch_mrview_http.erl
----------------------------------------------------------------------
diff --git a/src/couch_mrview_http.erl b/src/couch_mrview_http.erl
index b56d518..9eb306b 100644
--- a/src/couch_mrview_http.erl
+++ b/src/couch_mrview_http.erl
@@ -336,7 +336,7 @@ filtered_view_cb(Obj, Acc) ->
 
 view_cb({meta, Meta}, #vacc{resp=undefined}=Acc) ->
     % Map function starting
-    Headers = [{"ETag", Acc#vacc.etag}],
+    Headers = [],
     {ok, Resp} = chttpd:start_delayed_json_response(Acc#vacc.req, 200, Headers),
     view_cb({meta, Meta}, Acc#vacc{resp=Resp, should_close=true});
 view_cb({meta, Meta}, #vacc{}=Acc) ->


Mime
View raw message