diff options
author | Loïc Hoguin <[email protected]> | 2017-10-21 13:12:36 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2017-10-21 13:12:36 +0100 |
commit | 2a905e9bda3df9260602fb68e9415a3ad4e0cecb (patch) | |
tree | e183293ea515d2d340b84c458324fad710c67601 /test/handlers | |
parent | c62ce1c63e2801640e36c7a480e9250ec8108d24 (diff) | |
download | cowboy-2a905e9bda3df9260602fb68e9415a3ad4e0cecb.tar.gz cowboy-2a905e9bda3df9260602fb68e9415a3ad4e0cecb.tar.bz2 cowboy-2a905e9bda3df9260602fb68e9415a3ad4e0cecb.zip |
Add a metrics test when the handler didn't send anything
Also fix a test group to use h2 instead of HTTP/1.1.
Diffstat (limited to 'test/handlers')
-rw-r--r-- | test/handlers/default_h.erl | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/handlers/default_h.erl b/test/handlers/default_h.erl new file mode 100644 index 0000000..b89c31b --- /dev/null +++ b/test/handlers/default_h.erl @@ -0,0 +1,8 @@ +%% This module does not do anything. + +-module(default_h). + +-export([init/2]). + +init(Req, Opts) -> + {ok, Req, Opts}. |