[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Method not allowed exception

From: Ben Reser <ben_at_reser.org>
Date: Thu, 14 Nov 2013 13:35:36 -0800

On 11/14/13 2:07 AM, Stefano Fraccaro wrote:
> while upgrading the subversion repository to version 1.8.4 the external
> technician has also changed the folder name without notice. I lost many hours
> because I haven't understood immediately that "method not allowed" means "url
> not found" (in my case). It's possible to change the feedback?
> IMHO "method not allowed" means that the url is ok but I don't have required
> permissions on some objects.

Can you elaborate what method you're seeing method not allowed with? Or if you
were running a svn client what command you were running?

The one case where we made such a change that comes to mind is with LOCK. LOCK
per the RFC can lock files that don't exist (otherwise known as an unmapped url
or null resources).

http://webdav.org/specs/rfc4918.html#lock-unmapped-urls
http://webdav.org/specs/rfc2518.html#rfc.section.7.4

We only support this when SVNAutoversioning is turned on and return a method
not allowed error if this isn't turned on. We felt that the method not allowed
error was the logical error to return.

The other cases where we return method not allowed typically are cases where we
don't allow that method on regular URLs unless auto-versioning is enabled.
Received on 2013-11-14 22:36:12 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.