aboutsummaryrefslogtreecommitdiffstats
path: root/test/http_handler_set_resp.erl
diff options
context:
space:
mode:
Diffstat (limited to 'test/http_handler_set_resp.erl')
-rw-r--r--test/http_handler_set_resp.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/http_handler_set_resp.erl b/test/http_handler_set_resp.erl
index 70ddf79..d00d72a 100644
--- a/test/http_handler_set_resp.erl
+++ b/test/http_handler_set_resp.erl
@@ -2,7 +2,7 @@
-module(http_handler_set_resp).
-behaviour(cowboy_http_handler).
--export([init/3, handle/2, terminate/2]).
+-export([init/3, handle/2, terminate/3]).
init({_Transport, http}, Req, Opts) ->
Headers = proplists:get_value(headers, Opts, []),
@@ -27,5 +27,5 @@ handle(Req, State) ->
end
end.
-terminate(_Req, _State) ->
+terminate(_, _, _) ->
ok.