W3C home > Mailing lists > Public > uri@w3.org > November 2006

uri-template: optional template parameters?

From: Eric J. Bowman <eric@bisonsystems.net>
Date: Wed, 15 Nov 2006 07:09:44 +0000
To: uri@w3.org
Message-ID: <W7446316235163691163574584@mail.mailsnare.net>

I was wondering what peoples' thoughts are about making template segments 
optional by ending the variable name with a "?", as defined in OpenSearch 
1.1.  Here's their example:

"http://example.com/feed/{startPage?}"

http://www.opensearch.org/Specifications/OpenSearch/1.1#OpenSearch_URL_template_syntax

-Eric
Received on Wednesday, 15 November 2006 07:10:01 UTC

This archive was generated by hypermail 2.4.0 : Sunday, 10 October 2021 22:17:49 UTC