aboutsummaryrefslogtreecommitdiffstats
path: root/src/cowboy_rest.erl
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2017-01-02 16:47:16 +0100
committerLoïc Hoguin <[email protected]>2017-01-02 16:47:16 +0100
commite10daf39fa08fb1367b277b31b4c9c9baad5239b (patch)
tree348ed3084f217ede4b05f722b81e536f9180f5a2 /src/cowboy_rest.erl
parented664345d7c65922269bd89d70babffc97d9e095 (diff)
downloadcowboy-e10daf39fa08fb1367b277b31b4c9c9baad5239b.tar.gz
cowboy-e10daf39fa08fb1367b277b31b4c9c9baad5239b.tar.bz2
cowboy-e10daf39fa08fb1367b277b31b4c9c9baad5239b.zip
Numerous Dialyzer fixes
Diffstat (limited to 'src/cowboy_rest.erl')
-rw-r--r--src/cowboy_rest.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cowboy_rest.erl b/src/cowboy_rest.erl
index 33ef1d7..3f6e55b 100644
--- a/src/cowboy_rest.erl
+++ b/src/cowboy_rest.erl
@@ -205,7 +205,7 @@
handler_state :: any(),
%% Allowed methods. Only used for OPTIONS requests.
- allowed_methods :: [binary()],
+ allowed_methods :: [binary()] | undefined,
%% Media type.
content_types_p = [] ::