resthub/resthub-spring-stack

Copy / Past error in resthub-web-client

Merguez22 opened this issue · 1 comments

Hi,

i'm currently discovering your wonderfull Stack. I see an copy / past error,
headers must be replace by queryParameters !

public RequestHolder setQueryParameter(String name, String value) {
if (queryParameters.containsKey(name)) {
Collection values = headers.get(name); <== here
values.add(value);
} else {
List values = new ArrayList();
values.add(value);
queryParameters.put(name, values);
}
return this;
}

We're working on the 2.1.0 release - will fix this ASAP!
Thanks!