0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-16 05:00:24 +00:00

Always dialyze tests and fix some cowboy_req specs

This commit is contained in:
Loïc Hoguin 2018-10-31 10:50:57 +01:00
parent 07078eb47b
commit a8335c63df
No known key found for this signature in database
GPG key ID: 8A9DF795F6FED764
11 changed files with 25 additions and 11 deletions

View file

@ -2,6 +2,10 @@
-module(resp_h).
%% @todo Probably should have a separate handler for errors,
%% so that we can dialyze all the other correct calls.
-dialyzer({nowarn_function, do/3}).
-export([init/2]).
init(Req, Opts) ->