You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Tim Olsen <ti...@brooklynpenguin.com> on 2007/08/28 15:38:55 UTC
creation of lock-empty resource MUST return 201
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
Re: creation of lock-empty resource MUST return 201
Posted by Tim Olsen <ti...@brooklynpenguin.com>.
On Tue, 28 Aug 2007 18:40:51 +0200
Julian Reschke <ju...@gmx.de> wrote:
> Yes, if LOCK was applied to a previously unmapped URI, then it should
> return 201, not 200.
Thanks Julian! I've filed the bug as issue 2896.
http://subversion.tigris.org/issues/show_bug.cgi?id=2896
-Tim
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: creation of lock-empty resource MUST return 201
Posted by Julian Reschke <ju...@gmx.de>.
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