W3C home > Mailing lists > Public > w3c-dist-auth@w3.org > January to March 2003

RE: Collections ending in slashes

From: Clemm, Geoff <gclemm@rational.com>
Date: Wed, 22 Jan 2003 17:12:14 -0500
Message-ID: <E4F2D33B98DF7E4880884B9F0E6FDEE201A1271A@SUS-MA1IT01>
To: Webdav WG <w3c-dist-auth@w3c.org>

As probably comes as no surprise to those who have heard me
rant about this in the past, I strongly support this proposal
to allow servers to decide whether or not a collection URL is
slash terminated.

   From: Roy T. Fielding [mailto:fielding@apache.org]

   What is a resource type?

The value of the DAV:resourcetype property of a resource.

   p.s. it is impossible to reach WG consensus at a face-to-face
   meeting, even a regular one.

True.  In the body of her note, Lisa did not make any claim to
working group consensus (only "the consensus of those attendees
was ..."), but I agree that the subject line gave the impression
that it was referring to working group consensus.  (I removed the
offending phrase from the subject line of my response).

Cheers,
Geoff


-----Original Message-----
From: Lisa Dusseault [mailto:lisa@xythos.com]
Subject: Re: Collections ending in slashes: consensus reversal?

At the Interop working group meeting several months ago, the consensus
of those attendees was that servers should be more strongly encouraged
to consistently end collection URLs with trailing slashes (TS).
Presumably this would replace some instances of SHOULD with MUST etc.

Today however, a different group of WG attendees came to the opposite
conclusion: that servers aren't going to get better at this (they
already have their reasons if they're not using TS consistently, e.g.
performance concerns of finding out if an internal resource is a
collection).  If servers won't get any better, then it's more pragmatic
to encourage clients to check for the TS all the time. Under this view,
clients should be easily capable of examining the TS before
concatenating the name of a new resource they're about to create.
Resource type is the correct way to determine whether a resource is a
collection.

There is some fallout if we move to the model of saying that it doesn't
matter whether the server uses a TS ending or not.  For example, if a
client creates a collection without a TS, and the server prefers to use
TS the server should respond with Content-Location and the "normal" name
for the collection. Also, vice versa. This means that the client knows
what to expect if it then does a PROPFIND on the resource. 

In other words, this puts the onus for handling TS on the client. 

I'd like to see some discussion if people have anything to add, or
summary of advantages & such. I'm thinking probably a straw poll shortly
if Jim concurs.

Lisa
Received on Wednesday, 22 January 2003 17:12:51 GMT

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