diff options
Diffstat (limited to 'test/handlers')
-rw-r--r-- | test/handlers/proxied_h.erl | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/handlers/proxied_h.erl b/test/handlers/proxied_h.erl new file mode 100644 index 0000000..d5d4690 --- /dev/null +++ b/test/handlers/proxied_h.erl @@ -0,0 +1,11 @@ +%% Feel free to use, reuse and abuse the code in this file. + +-module(proxied_h). + +-export([init/2]). + +init(Req, State) -> + {ok, cowboy_req:reply(200, + #{<<"content-type">> => <<"text/plain">>}, + <<"TODO">>, + Req), State}. |