W3C home > Mailing lists > Public > w3c-dist-auth@w3.org > April to June 1999

RE: rfc2518, MKCOL and parent directory

From: Yaron Goland (Exchange) <yarong@Exchange.Microsoft.com>
Date: Fri, 25 Jun 1999 18:15:03 -0700
Message-ID: <078292D50C98D2118D090008C7E9C6A6019472EC@STAY>
To: "'ccjason@us.ibm.com'" <ccjason@us.ibm.com>, w3c-dist-auth@w3.org, "'ejw@ics.uci.edu'" <ejw@ics.uci.edu>
The wording was bad. It should have said "For example, if a request to
create collection /a/b/c/d/ is made, and either /a/b/ or /a/b/c/ doesn't
exist, the request must fail."

Jim, have we added this to the draft issues list?

		Yaron

> -----Original Message-----
> From: ccjason@us.ibm.com [mailto:ccjason@us.ibm.com]
> Sent: Thu, June 17, 1999 11:04 AM
> To: w3c-dist-auth@w3.org
> Subject: rfc2518, MKCOL and parent directory
> 
> 
> 
> rfc2518 8.3.1 talks about MKCOL and says...
> 
>    MKCOL creates a new collection resource at the location 
> specified by
>    the Request-URI.  If the resource identified by the Request-URI is
>    non-null then the MKCOL MUST fail.  During MKCOL 
> processing, a server
>    MUST make the Request-URI a member of its parent collection, unless
>    the Request-URI is "/".  If no such ancestor exists, the 
> method MUST
>    fail.  When the MKCOL operation creates a new collection resource,
>    all ancestors MUST already exist, or the method MUST fail 
> with a 409
>    (Conflict) status code.  For example, if a request to create
>    collection /a/b/c/d/ is made, and neither /a/b/ nor /a/b/c/ exists,
>    the request must fail.
> 
> That last sentence (For example...) strikes me as wrong.  It seems
> to suggest that if one of these existed, then you might not need to
> fail the request.  Buf if the existance of one of these allows the
> request to be accepted, then why doesn't the existance of /a/ or /
> do the same.  And if it does, doesn't that make the original statement
> wrong since if /a/ existed, then apparently /a/b/ and /a/b/c/ wouldn't
> need to exist.
> 
> Anyway, something needs to change here.  I don't know the intent
> well enough to know what that something is.
> 
> J.
> 
> ------------------------------------------
> Phone: 914-784-7569,   ccjason@us.ibm.com
> 
> 
Received on Friday, 25 June 1999 21:16:20 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 2 June 2009 18:43:50 GMT