W3C home > Mailing lists > Public > uri@w3.org > May 2009

Re: URI Template experience

From: Aristotle Pagaltzis <pagaltzis@gmx.de>
Date: Wed, 20 May 2009 04:37:17 +0200
To: URI <uri@w3.org>
Message-ID: <20090520023717.GA1300@klangraum.plasmasturm.org>
* Roy T. Fielding <fielding@gbiv.com> [2009-05-19 23:20]:
> On May 19, 2009, at 1:57 AM, Aristotle Pagaltzis wrote:
>> So a template for a typical query URI would be written
>> something like
>>
>>     /articles?{&tag,per_page,q}
>>
>> which would just Do The Right Thing. If needs later changed
>> and you wanted to include a static parameter, it might become
>> eg.
>>
>>     /articles?style=summary&{&tag,per_page,q}
>>
>> and would still DTRT.
>
> But it would not describe the common case in way that is
> reversible, and doesn't account for the style=summary being
> in an *unordered* query part.

So how do you do that? As far as I can tell, neither do any other
proposed syntaxes.

Regards,
-- 
Aristotle Pagaltzis // <http://plasmasturm.org/>
Received on Wednesday, 20 May 2009 02:39:51 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 13 January 2011 12:15:42 GMT