Fix dialyzer warning

This commit is contained in:
Pawel Chmielowski
2026-02-06 12:51:33 +01:00
parent fbc3349e04
commit 97fc89bc7f
+1 -2
View File
@@ -859,8 +859,7 @@ parse_urlencoded(<<$=, Tail/binary>>, _Last, Cur, key) ->
parse_urlencoded(<<H, Tail/binary>>, Last, Cur, State) ->
parse_urlencoded(Tail, Last, <<Cur/binary, H>>, State);
parse_urlencoded(<<>>, Last, Cur, _State) ->
[{Last, Cur}];
parse_urlencoded(undefined, _, _, _) -> [].
[{Last, Cur}].
apply_custom_headers(Headers, CustomHeaders) ->
{Doctype, Headers2} = case Headers -- [html] of