couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From beno...@apache.org
Subject git commit: make sure default headers are defaults.
Date Wed, 16 May 2012 16:13:10 GMT
Updated Branches:
  refs/heads/master 6c1ac8b3a -> 46d3ce1b1


make sure default headers are defaults.


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

Branch: refs/heads/master
Commit: 46d3ce1b1265dffc8fb502f62f55c469f7785d93
Parents: 6c1ac8b
Author: benoitc <benoitc@apache.org>
Authored: Wed May 16 18:12:16 2012 +0200
Committer: benoitc <benoitc@apache.org>
Committed: Wed May 16 18:12:16 2012 +0200

----------------------------------------------------------------------
 src/couchdb/couch_httpd_db.erl |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/46d3ce1b/src/couchdb/couch_httpd_db.erl
----------------------------------------------------------------------
diff --git a/src/couchdb/couch_httpd_db.erl b/src/couchdb/couch_httpd_db.erl
index 0920014..e9e4109 100644
--- a/src/couchdb/couch_httpd_db.erl
+++ b/src/couchdb/couch_httpd_db.erl
@@ -132,7 +132,7 @@ handle_changes_req2(Req, Db) ->
             {"Content-Type", "text/event-stream"},
             {"Cache-Control", "no-cache"}
         ],
-        {ok, Resp} = couch_httpd:start_json_response(Req, 200, Headers),
+        {ok, Resp} = couch_httpd:start_chunked_response(Req, 200, Headers),
         fun(FeedChangesFun) ->
             FeedChangesFun(MakeCallback(Resp))
         end;


Mime
View raw message