aboutsummaryrefslogtreecommitdiffstats
path: root/src/cow_http_hd.erl
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2016-10-04 00:03:19 +0200
committerLoïc Hoguin <[email protected]>2016-10-04 00:03:19 +0200
commit52a2ff96e8df1dc64ada5add37810e964a8e7015 (patch)
tree953dab46e0a662fe9527317749d4ede7af3580eb /src/cow_http_hd.erl
parentd53cd5297e1b8baffaf5a649f2c6a9763800c569 (diff)
downloadcowlib-52a2ff96e8df1dc64ada5add37810e964a8e7015.tar.gz
cowlib-52a2ff96e8df1dc64ada5add37810e964a8e7015.tar.bz2
cowlib-52a2ff96e8df1dc64ada5add37810e964a8e7015.zip
Fix Dialyzer warnings
Diffstat (limited to 'src/cow_http_hd.erl')
-rw-r--r--src/cow_http_hd.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cow_http_hd.erl b/src/cow_http_hd.erl
index 4496949..600f21a 100644
--- a/src/cow_http_hd.erl
+++ b/src/cow_http_hd.erl
@@ -1970,7 +1970,7 @@ horse_parse_host_ipv6_v4() ->
%% @doc Parse the HTTP2-Settings header.
--spec parse_http2_settings(binary()) -> binary().
+-spec parse_http2_settings(binary()) -> map().
parse_http2_settings(HTTP2Settings) ->
cow_http2:parse_settings_payload(base64:decode(HTTP2Settings)).