W3C home > Mailing lists > Public > uri@w3.org > October 2011

Re: Another idea for URI templates

From: Roy T. Fielding <fielding@gbiv.com>
Date: Tue, 25 Oct 2011 17:41:49 -0700
Cc: "uri@w3.org" <uri@w3.org>
Message-Id: <5F8BA75C-C1DA-451B-A645-2688459912CA@gbiv.com>
To: Murray S. Kucherawy <msk@cloudmark.com>
On Oct 25, 2011, at 2:46 AM, Murray S. Kucherawy wrote:

> I don’t have the URI template draft handy unfortunately (on a long flight), so I can’t confirm this, but I think I found something useful that I don’t believe the template draft currently handles.
> 
> If you have a template that includes “/{foo}”, then the “/” is always inserted into the template regardless of whether or not “foo” is actually defined.  It might be nice to have the “/” be there only if “foo” is set.

That is exactly what is defined for {/foo}.

....Roy
Received on Wednesday, 26 October 2011 00:42:14 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 26 October 2011 00:42:15 GMT