couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kocol...@apache.org
Subject svn commit: r804379 - /couchdb/trunk/src/couchdb/couch_httpd_auth.erl
Date Fri, 14 Aug 2009 21:27:50 GMT
Author: kocolosk
Date: Fri Aug 14 21:27:48 2009
New Revision: 804379

URL: http://svn.apache.org/viewvc?rev=804379&view=rev
Log:
update allowed methods to reflect reality

Modified:
    couchdb/trunk/src/couchdb/couch_httpd_auth.erl

Modified: couchdb/trunk/src/couchdb/couch_httpd_auth.erl
URL: http://svn.apache.org/viewvc/couchdb/trunk/src/couchdb/couch_httpd_auth.erl?rev=804379&r1=804378&r2=804379&view=diff
==============================================================================
--- couchdb/trunk/src/couchdb/couch_httpd_auth.erl (original)
+++ couchdb/trunk/src/couchdb/couch_httpd_auth.erl Fri Aug 14 21:27:48 2009
@@ -475,7 +475,7 @@
         {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)); 



Mime
View raw message