aboutsummaryrefslogtreecommitdiffstats
path: root/test/http_SUITE_data/http_handler.erl
diff options
context:
space:
mode:
Diffstat (limited to 'test/http_SUITE_data/http_handler.erl')
-rw-r--r--test/http_SUITE_data/http_handler.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/http_SUITE_data/http_handler.erl b/test/http_SUITE_data/http_handler.erl
index 62e9193..eb31aa8 100644
--- a/test/http_SUITE_data/http_handler.erl
+++ b/test/http_SUITE_data/http_handler.erl
@@ -5,6 +5,6 @@
-export([init/2]).
init(Req, Opts) ->
- Headers = proplists:get_value(headers, Opts, []),
+ Headers = proplists:get_value(headers, Opts, #{}),
Body = proplists:get_value(body, Opts, "http_handler"),
{ok, cowboy_req:reply(200, Headers, Body, Req), Opts}.