diff options
Diffstat (limited to 'test/rest_forbidden_resource.erl')
-rw-r--r-- | test/rest_forbidden_resource.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/rest_forbidden_resource.erl b/test/rest_forbidden_resource.erl index d34e7b2..63aac7e 100644 --- a/test/rest_forbidden_resource.erl +++ b/test/rest_forbidden_resource.erl @@ -10,7 +10,7 @@ rest_init(Req, [Forbidden]) -> {ok, Req, Forbidden}. allowed_methods(Req, State) -> - {['GET', 'HEAD', 'POST'], Req, State}. + {[<<"GET">>, <<"HEAD">>, <<"POST">>], Req, State}. forbidden(Req, State=true) -> {true, Req, State}; |