dudeswave2/gun/test/handlers/empty_h.erl

12 lines
211 B
Erlang
Raw Permalink Normal View History

%% Feel free to use, reuse and abuse the code in this file.
-module(empty_h).
-export([init/2]).
init(Req, State) ->
{ok, cowboy_req:reply(200, #{
<<"content-type">> => <<"text/plain">>
}, Req), State}.