aboutsummaryrefslogtreecommitdiffstats
path: root/src/cowboy_rest.erl
diff options
context:
space:
mode:
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 = [] ::