W3C home > Mailing lists > Public > public-hydra@w3.org > November 2015

Re: Repeating IriTemplate parameters

From: Ruben Verborgh <ruben.verborgh@ugent.be>
Date: Tue, 10 Nov 2015 13:48:32 +0100
Cc: public-hydra@w3.org
Message-Id: <F41D3FAE-04DA-49E6-BA1D-5CA03695A3C2@ugent.be>
To: Maik Riechert <m.riechert@reading.ac.uk>
Hi Maik,

> If I have a URL structure with repeating parameters like
> 
> http://example.com/coveragecollection?include=domain&include=range
> 
> how would that look like in an IriTemplate?

I think that would be
    http://example.com/coveragecollection?include={includes}
where the variable includes is multi-valued.

We would then need a variable serialization for multiple values,
that for instance expands the template to
    http://example.com/coveragecollection?include=abc,def

> Is that possible at all?

I don't see multi-valued parameters in the spec right now.
Others, do we have something for that?

Best,

Ruben
Received on Tuesday, 10 November 2015 12:49:08 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 10 November 2015 12:49:08 UTC