Przeglądaj źródła

Accounted for empty lists as well

pull/63/head
Mistagrooves 13 lat temu
rodzic
commit
2c709e3cad
1 zmienionych plików z 4 dodań i 0 usunięć
  1. +4
    -0
      src/ibrowse_http_client.erl

+ 4
- 0
src/ibrowse_http_client.erl Wyświetl plik

@ -566,6 +566,10 @@ do_send_body1(Source, Resp, State, TE) ->
do_send_body({Source}, State, TE);
{ok, <<>>, New_source_state} ->
do_send_body({Source, New_source_state}, State, TE);
{ok, []} ->
do_send_body({Source}, State, TE);
{ok, [], New_source_state} ->
do_send_body({Source, New_source_state}, State, TE);
{ok, Data} ->
do_send(maybe_chunked_encode(Data, TE), State),
do_send_body({Source}, State, TE);

Ładowanie…
Anuluj
Zapisz