diff options
author | Loïc Hoguin <[email protected]> | 2015-08-17 13:45:30 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2015-08-17 13:45:30 +0200 |
commit | 3f14981cd51c95d32fcf6ec313b6a3dca2bc8b6b (patch) | |
tree | f03c07a4343d129343465014b5d030f10cfc7ce8 | |
parent | 522e95766c3f3352fbb131e351b6b6b70faf404e (diff) | |
download | gun-3f14981cd51c95d32fcf6ec313b6a3dca2bc8b6b.tar.gz gun-3f14981cd51c95d32fcf6ec313b6a3dca2bc8b6b.tar.bz2 gun-3f14981cd51c95d32fcf6ec313b6a3dca2bc8b6b.zip |
Fix compilation issue
Oops!
-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 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; |