Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

make sure default headers are defaults

  • Loading branch information...
commit 3f0b8dd4f842287fd501079b26644123b7b7b9e4 1 parent 224195e
@benoitc benoitc authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  apps/couch_changes/src/couch_httpd_changes.erl
View
2  apps/couch_changes/src/couch_httpd_changes.erl
@@ -101,7 +101,7 @@ do_changes_req(_Db, Req, #changes_args{feed="eventsource"}, ChangesFun,
{"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),
ChangesFun(MakeCallback(Resp));
do_changes_req(_Db, Req, _ChangesArgs, ChangesFun, MakeCallback) ->
% "longpoll" or "continuous"
Please sign in to comment.
Something went wrong with that request. Please try again.