[mdx] returning the "all entities" aggregate

Tom Scavo trscavo at gmail.com
Wed Sep 3 12:45:57 PDT 2014


On Wed, Sep 3, 2014 at 3:32 PM, Ian Young <ian at iay.org.uk> wrote:
>
> On 3 Sep 2014, at 20:23, Tom Scavo <trscavo at gmail.com> wrote:
>>
>> Yes, that slash is a bugaboo. Should the spec insist on the base URL
>> *not* ending with a slash?
>
> I had a draft of the changed text, but I've lost it. I think I ended up finding that things were cleanest if you say the opposite: the base URL MUST end with a slash, and then the endpoints are just below that as "entities", "entities/ID" etc.
>
> One way or another, though, lifting the normalisation of the "/" part of the path up makes thing easier to understand.

Well, the thing to keep in mind is that /blah/entities/ is for all
practical purposes a request for an index page. You don't want to
clash with that.

> I think I will go "just do that" with the mdq-server implementation and see what it looks like. Frankly, I don't particularly want to be serving 20MB HTML documents off my home ADSL network either and this would be a good way to put the kibosh on that...

+1

Thanks,

Tom


More information about the mdx mailing list