diff options
author | Adam Kocoloski <kocolosk@apache.org> | 2009-08-14 21:27:48 +0000 |
---|---|---|
committer | Adam Kocoloski <kocolosk@apache.org> | 2009-08-14 21:27:48 +0000 |
commit | 3180e5aa8541d7969c95296607989c88056b598e (patch) | |
tree | 572cb518f4da6d7f95320ff1b4ff1281104702a8 /src/couchdb | |
parent | 786bad421dc20bdcf9f7e0a7b5590f65d0c90451 (diff) |
update allowed methods to reflect reality
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@804379 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/couchdb')
-rw-r--r-- | src/couchdb/couch_httpd_auth.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/couchdb/couch_httpd_auth.erl b/src/couchdb/couch_httpd_auth.erl index 29a50eb5..f2974836 100644 --- a/src/couchdb/couch_httpd_auth.erl +++ b/src/couchdb/couch_httpd_auth.erl @@ -475,7 +475,7 @@ handle_user_req(#httpd{method='PUT', path_parts=[_, UserName]}=Req) -> {ok, Db} -> update_user_req(Req, Db, UserName) end; handle_user_req(Req) -> - send_method_not_allowed(Req, "GET,HEAD,POST,PUT,DELETE"). + send_method_not_allowed(Req, "POST,PUT"). to_int(Value) when is_binary(Value) -> to_int(?b2l(Value)); |