You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by rn...@apache.org on 2015/08/25 17:39:19 UTC
chttpd commit: updated refs/heads/master to 932f115
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 <rn...@apache.org>
Authored: Tue Aug 25 16:38:39 2015 +0100
Committer: Robert Newson <rn...@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),