Community
Participate
Working Groups
Right now, OslcClient does not give consumers any control over the request headers beyond the media type. Allow clients to set any request header by passing in a map to getResource().
Resolved by https://git.eclipse.org/r/37416 You can now make calls like this ChangeRequest bug = client.getResource("http://example.com/bugs/43", Collections.singletonMap("Accept-Language", "da")) .getEntity(ChangeRequest.class);
Will be released in 2.1.2.