aboutsummaryrefslogtreecommitdiffstats
path: root/src/cow_hpack.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/cow_hpack.erl')
-rw-r--r--src/cow_hpack.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cow_hpack.erl b/src/cow_hpack.erl
index 738dd20..4ddd473 100644
--- a/src/cow_hpack.erl
+++ b/src/cow_hpack.erl
@@ -563,7 +563,7 @@ encode(Headers, State, Opts) ->
%% @todo Handle cases where no/never indexing is expected.
encode([], State, _, Acc) ->
{lists:reverse(Acc), State};
-encode([Header0 = {Name, Value0}|Tail], State, Opts, Acc) ->
+encode([_Header0 = {Name, Value0}|Tail], State, Opts, Acc) ->
Value = iolist_to_binary(Value0),
Header = {Name, Value},
case table_find(Header, State) of