Re: issue 85 - range unit extensions

Kris Zyp wrote:
>> Out of curiosity: did you consider simply using a query parameter 
>> instead? If you did, and decided not to, that would be interesting for 
>> the question whether custom ranges are a good idea after all.
> 
> Yes, I considered that, but here is no standard for query parameters, 
> AFAIK. Since Dojo is a client side library, we are aiming for maximum 

Nope.

> interoperability with servers by following the HTTP specification as 
> closely as possible, so servers have a real standard to go off of 
> instead something we made up. It seems like leveraging the range/partial 
> content mechanism with alternate range unit is the approach that HTTP 
> would suggest, and I have no reason to believe it is wrong. Retrieving a 
> paged subset of data is merely a different representation of the same 
> resource.

Yes. But, making up new range units shares has similar problems as 
making up query parameters, doesn't it?

To make this robust, we'd really need a registry.

BR, Julian

Received on Monday, 1 September 2008 08:22:51 UTC