diff options
Diffstat (limited to 'test/http_SUITE_data/http_handler.erl')
-rw-r--r-- | test/http_SUITE_data/http_handler.erl | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/http_SUITE_data/http_handler.erl b/test/http_SUITE_data/http_handler.erl index e1f1665..296c918 100644 --- a/test/http_SUITE_data/http_handler.erl +++ b/test/http_SUITE_data/http_handler.erl @@ -12,8 +12,7 @@ init({_Transport, http}, Req, Opts) -> {ok, Req, #state{headers=Headers, body=Body}}. handle(Req, State=#state{headers=Headers, body=Body}) -> - {ok, Req2} = cowboy_req:reply(200, Headers, Body, Req), - {ok, Req2, State}. + {ok, cowboy_req:reply(200, Headers, Body, Req), State}. terminate(_, _, _) -> ok. |