aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gun_http.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gun_http.erl b/src/gun_http.erl
index b1ac4ad..77cc619 100644
--- a/src/gun_http.erl
+++ b/src/gun_http.erl
@@ -345,7 +345,7 @@ request_io_from_headers(Headers) ->
response_io_from_headers(_, 204, _) ->
head;
-response_io_from_headers(Version, Status, Headers) ->
+response_io_from_headers(Version, _Status, Headers) ->
case lists:keyfind(<<"content-length">>, 1, Headers) of
{_, <<"0">>} ->
head;