W3C home > Mailing lists > Public > uri@w3.org > March 2008

URI Templates and Acceptable Values

From: Ben Ramsey <benramsey.lists@gmail.com>
Date: Mon, 10 Mar 2008 16:25:18 -0400
Message-ID: <47D5992E.8010309@gmail.com>
To: URI <uri@w3.org>

I've combed through the list and can't find whether this has been previously 
discussed, so forgive me if I'm repeating something.

I know that you can use a URI template to define a default value for a parameter 
(i.e. {foo=bar}), but has anyone discussed the use of a list of acceptable 
values for a parameter?

Perhaps something like:


In this case, the only acceptable values for foo are bar, baz, and qux. 
Implementors would determine how to handle unacceptable values.

If this has been discussed and decided against, what was the reasoning for 
rejecting this idea?

Ben Ramsey
Received on Tuesday, 11 March 2008 07:48:53 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:25:12 UTC