couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rnew...@apache.org
Subject couch-mrview commit: updated refs/heads/master to bda9472
Date Tue, 25 Aug 2015 15:39:11 GMT
Repository: couchdb-couch-mrview
Updated Branches:
  refs/heads/master def55ca6a -> bda94729b


Etag's require quotes


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/bda94729
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch-mrview/tree/bda94729
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-couch-mrview/diff/bda94729

Branch: refs/heads/master
Commit: bda94729bfd6d97cb97a6fae7e39a84ba33dd2e3
Parents: def55ca
Author: Robert Newson <rnewson@apache.org>
Authored: Tue Aug 25 16:39:02 2015 +0100
Committer: Robert Newson <rnewson@apache.org>
Committed: Tue Aug 25 16:39:02 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/bda94729/src/couch_mrview_http.erl
----------------------------------------------------------------------
diff --git a/src/couch_mrview_http.erl b/src/couch_mrview_http.erl
index d285240..c6c1ecf 100644
--- a/src/couch_mrview_http.erl
+++ b/src/couch_mrview_http.erl
@@ -296,7 +296,7 @@ multi_query_view(Req, Db, DDoc, ViewName, Queries) ->
         Max = chttpd:chunked_response_buffer_size(),
         VAcc0 = #vacc{db=Db, req=Req, prepend="\r\n", threshold=Max},
         %% TODO: proper calculation of etag
-        Etag = couch_uuids:new(),
+        Etag = [$", couch_uuids:new(), $"],
         Headers = [{"ETag", Etag}],
         FirstChunk = "{\"results\":[",
         {ok, Resp0} = chttpd:start_delayed_json_response(VAcc0#vacc.req, 200, Headers, FirstChunk),


Mime
View raw message