W3C home > Mailing lists > Public > w3c-dist-auth@w3.org > July to September 2002

Re: Issue: Requiring server to use / terminated URL for returned coll ections

From: Roy T. Fielding <fielding@apache.org>
Date: Mon, 16 Sep 2002 17:48:37 -0700
Cc: Webdav WG <w3c-dist-auth@w3c.org>
To: "Clemm, Geoff" <gclemm@rational.com>
Message-Id: <338BE886-C9D7-11D6-8B7B-000393753936@apache.org>

> I strongly object to adding a MUST for servers returning slash
> terminated URLs for collections.
>
> Most repositories do not allow trailing segment-separator characters
> in the segment name of a resource, and therefore these trailing
> segment-separator characters are commonly just stripped off before
> that segment name is stored in the repository.  This means that in
> order to decide whether to add the segement-separator character back
> on, the implementation must query the repository for the type of each
> resource identified by that segment.  Forcing this cost on the server
> is only justified if it provides some compelling benefit to the
> client.

That's simply not true.  Most repositories store the type of a resource
along with the resource name in the collection (a.k.a. directory) and
thus that information is available at the time the segment is used
within a link describing the collection at no extra cost to the server.

All other repositories are fully capable of improving their internal
implementation.  OTOH, the protocol specification is responsible for
specifying that which is clearly most efficient for the protocol and
for those servers that have already anticipated its implementation.

....Roy
Received on Monday, 16 September 2002 20:49:24 GMT

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