You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ko...@apache.org on 2017/03/01 16:37:57 UTC
[23/43] couch-mrview commit: updated refs/heads/2971-count-distinct
to f7c3c24
Use canonical case for ETag response header (COUCHDB-3134)
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/ed52b77c
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch-mrview/tree/ed52b77c
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-couch-mrview/diff/ed52b77c
Branch: refs/heads/2971-count-distinct
Commit: ed52b77cd7255155d57874fe31896deae3d57efa
Parents: 9133f6d
Author: Robert Newson <rn...@apache.org>
Authored: Wed Sep 7 12:54:35 2016 +0100
Committer: Robert Newson <rn...@apache.org>
Committed: Wed Sep 7 12:54:35 2016 +0100
----------------------------------------------------------------------
src/couch_mrview_show.erl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/couchdb-couch-mrview/blob/ed52b77c/src/couch_mrview_show.erl
----------------------------------------------------------------------
diff --git a/src/couch_mrview_show.erl b/src/couch_mrview_show.erl
index f7e0f56..0e5217c 100644
--- a/src/couch_mrview_show.erl
+++ b/src/couch_mrview_show.erl
@@ -323,7 +323,7 @@ apply_etag({ExternalResponse}, CurrentEtag) ->
% Vary headers. If the external function controls the Etag, we'd have to
% run it to check for a match, which sort of defeats the purpose.
apply_headers(ExternalResponse, [
- {<<"Etag">>, CurrentEtag},
+ {<<"ETag">>, CurrentEtag},
{<<"Vary">>, <<"Accept">>}
]).