summaryrefslogtreecommitdiff
path: root/src/ibrowse/ibrowse_http_client.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/ibrowse/ibrowse_http_client.erl')
-rw-r--r--src/ibrowse/ibrowse_http_client.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ibrowse/ibrowse_http_client.erl b/src/ibrowse/ibrowse_http_client.erl
index 43aa51f4..6a26dd4a 100644
--- a/src/ibrowse/ibrowse_http_client.erl
+++ b/src/ibrowse/ibrowse_http_client.erl
@@ -388,7 +388,7 @@ handle_sock_closed(#state{reply_buffer = Buf, reqs = Reqs, http_status_code = SC
case TmpFilename of
undefined ->
do_reply(State, From, StreamTo, ReqId, Resp_format,
- {ok, SC, Headers, lists:reverse(Buf)});
+ {ok, SC, Headers, Buf});
_ ->
file:close(Fd),
do_reply(State, From, StreamTo, ReqId, Resp_format,