From 7d3dffd15c7d773cf48ba493ce733125ebbc9a31 Mon Sep 17 00:00:00 2001 From: Tomas Abrahamsson Date: Thu, 3 Sep 2020 14:07:54 +0200 Subject: Include content_handlers in opts --- src/gun.erl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gun.erl b/src/gun.erl index bd4ce3d..217133f 100644 --- a/src/gun.erl +++ b/src/gun.erl @@ -210,6 +210,7 @@ -type http_opts() :: #{ closing_timeout => timeout(), + content_handlers => gun_content_handler:opt(), flow => pos_integer(), keepalive => timeout(), transform_header_name => fun((binary()) -> binary()), @@ -223,6 +224,7 @@ %% @todo Accept http_opts, http2_opts, and so on. -type http2_opts() :: #{ closing_timeout => timeout(), + content_handlers => gun_content_handler:opt(), flow => pos_integer(), keepalive => timeout(), -- cgit v1.2.3