Closed romain-grecourt closed 2 weeks ago
The first example is expected to work this way - the signature is queryParam(String name, String... values)
So you should do: queryParam("foo", "bar1", "bar2")
The second example is showing a bug in our code.
The method io.helidon.common.uri.UriQueryWriteableImpl#addRaw
should call add
instead of set
for each value
Environment Details
Problem Description
When using a client to make a request with multi-value query params, only the last value is retained.
Steps to reproduce
It boils down to
UriQueryWriteable.fromQueryString
: