--- httpc_handler.erl-orig 2007-11-21 23:06:15.000000000 +0000 +++ httpc_handler.erl 2007-11-21 23:06:18.000000000 +0000 @@ -521,6 +521,10 @@ State), {stop, normal, NewState}; _ -> + + case Code of + 204 -> handle_response(State#state{body=Body, request=Request}); + _ -> Length = list_to_integer(Headers#http_response_h.'content-length'), case ((Length =< MaxBodySize) or (MaxBodySize == nolimit)) of @@ -545,6 +549,7 @@ State), {stop, normal, NewState} end + end end. %%% Normaly I do not comment out code, I throw it away. But this might