diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/gun_http.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gun_http.erl b/src/gun_http.erl index 620f8ae..745c2a9 100644 --- a/src/gun_http.erl +++ b/src/gun_http.erl @@ -330,7 +330,7 @@ response_io_from_headers(Version, Headers) -> _ -> case lists:keyfind(<<"transfer-encoding">>, 1, Headers) of false -> - head; + body_close; {_, TE} -> case cow_http_hd:parse_transfer_encoding(TE) of [<<"chunked">>] -> body_chunked; |