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

Re: creation of lock-empty resource MUST return 201

From: Julian Reschke <julian.reschke_at_gmx.de>
Date: 2007-08-28 18:40:51 CEST

Tim Olsen wrote:
> The following comment appears in mod_dav_svn/lock.c :
> /* mod_dav_svn supports RFC2518bis which does not actually require
> the server to create lock-null resources. Instead, we create
> zero byte files when a lock comes in on a non-existent path.
> mod_dav_svn never creates any lock-null resources, so this
> function is never called by mod_dav. */
> However, RFC 2518bis (now 4918) requires that creation of a lock-empty
> resource upon a LOCK request MUST return 201 (See
> http://greenbytes.de/tech/webdav/rfc4918.html#lock-unmapped-urls )
> Currently, subversion returns a 200
> If someone will agree to be my buddy, I will file the issue.

Yes, if LOCK was applied to a previously unmapped URI, then it should
return 201, not 200.

Best regards, Julian

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Aug 28 18:38:13 2007

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