Repository: couchdb-couch-mrview Updated Branches: refs/heads/master 9133f6d16 -> ed52b77cd
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/master Commit: ed52b77cd7255155d57874fe31896deae3d57efa Parents: 9133f6d Author: Robert Newson <rnew...@apache.org> Authored: Wed Sep 7 12:54:35 2016 +0100 Committer: Robert Newson <rnew...@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">>} ]).