Re: URI Template experience

* 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 UTC