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

creation of lock-empty resource MUST return 201

From: Tim Olsen <tim_at_brooklynpenguin.com>
Date: 2007-08-28 17:38:55 CEST

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.

Thanks,
Tim

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Aug 28 17:36:22 2007

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