diff options
author | Fredrik Gustafsson <[email protected]> | 2013-03-08 11:31:18 +0100 |
---|---|---|
committer | Fredrik Gustafsson <[email protected]> | 2013-03-08 11:31:18 +0100 |
commit | b7c80e82cc4826d56c1e8914fb1a47652ab3f018 (patch) | |
tree | 87c72cb718f0b234d4f512f1df196acbfe0c50db /lib | |
parent | 13a85e903600714ad4dcd0ce9828dee17ea19bf8 (diff) | |
parent | 6e6c8a8e3f4891285cdd5fcb9143a34f8fbecc12 (diff) | |
download | otp-b7c80e82cc4826d56c1e8914fb1a47652ab3f018.tar.gz otp-b7c80e82cc4826d56c1e8914fb1a47652ab3f018.tar.bz2 otp-b7c80e82cc4826d56c1e8914fb1a47652ab3f018.zip |
Merge branch 'maint'
Diffstat (limited to 'lib')
-rw-r--r-- | lib/inets/src/http_client/httpc_response.erl | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/inets/src/http_client/httpc_response.erl b/lib/inets/src/http_client/httpc_response.erl index f177aac8f2..9107dfbf05 100644 --- a/lib/inets/src/http_client/httpc_response.erl +++ b/lib/inets/src/http_client/httpc_response.erl @@ -430,8 +430,6 @@ format_response({StatusLine, Headers, Body}) -> Length = list_to_integer(Headers#http_response_h.'content-length'), {NewBody, Data} = case Length of - 0 -> - {Body, <<>>}; -1 -> % When no lenght indicator is provided {Body, <<>>}; Length when (Length =< size(Body)) -> |