couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rnew...@apache.org
Subject chttpd commit: updated refs/heads/master to 932f115
Date Tue, 25 Aug 2015 15:39:19 GMT
Repository: couchdb-chttpd
Updated Branches:
  refs/heads/master 88fd8dc2c -> 932f1154f


Etag's require quotes


Project: http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/commit/932f1154
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/tree/932f1154
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/diff/932f1154

Branch: refs/heads/master
Commit: 932f1154fc1083dc152e859b137d047a7c10150d
Parents: 88fd8dc
Author: Robert Newson <rnewson@apache.org>
Authored: Tue Aug 25 16:38:39 2015 +0100
Committer: Robert Newson <rnewson@apache.org>
Committed: Tue Aug 25 16:38:39 2015 +0100

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


http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/blob/932f1154/src/chttpd_view.erl
----------------------------------------------------------------------
diff --git a/src/chttpd_view.erl b/src/chttpd_view.erl
index bb98fec..ea1301c 100644
--- a/src/chttpd_view.erl
+++ b/src/chttpd_view.erl
@@ -27,7 +27,7 @@ multi_query_view(Req, Db, DDoc, ViewName, Queries) ->
     {ok, Resp2} = couch_httpd:etag_maybe(Req, fun() ->
         VAcc0 = #vacc{db=Db, req=Req, prepend="\r\n"},
         %% 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