소스 검색

Accounted for empty lists as well

pull/63/head
Mistagrooves 13 년 전
부모
커밋
2c709e3cad
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. +4
    -0
      src/ibrowse_http_client.erl

+ 4
- 0
src/ibrowse_http_client.erl 파일 보기

@ -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);

불러오는 중...
취소
저장