diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/couchdb/couch_httpd_external.erl | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/couchdb/couch_httpd_external.erl b/src/couchdb/couch_httpd_external.erl index 692044ba..5f63ac0e 100644 --- a/src/couchdb/couch_httpd_external.erl +++ b/src/couchdb/couch_httpd_external.erl @@ -96,9 +96,7 @@ send_external_response(#httpd{mochi_req=MochiReq}, Response) -> headers = Headers } = parse_external_response(Response), Resp = MochiReq:respond({Code, - default_or_content_type(CType, Headers), chunked}), - Resp:write_chunk(Data), - Resp:write_chunk(""), + default_or_content_type(CType, Headers), Data}), {ok, Resp}. parse_external_response({Response}) -> |