Hi Vincent,

> Well, it turns out restlets only understand the base of the URLs.

The choice of not exposing the query string and the fragment part of the
target resource URI was deliberate.

The reason is that the query string is often composed of a sequence of
parameters ("key=value") that can appear in any order while keeping the same
semantics.

        /accounts?balance_less_than=2000&status=active

is equivalent to:

        /accounts?status=active&balance_less_than=2000

So, we encourage developers to deal with the query part inside the Handlers
(or using the ExtractFilter, to be renamed Extractor) using the Form class
(via getQueryAsForm() method). 

Thanks,
Jerome

Reply via email to