Are you talking about JAXRS20ClientServerBookTest?  I don't see it using
the header() method on a WebTarget (not WebClient).  Am I looking at the
right thing?


On Thu, Jul 14, 2016 at 3:26 PM Sergey Beryozkin <[email protected]>
wrote:

> Hi
> On 14/07/16 19:24, James Carman wrote:
> > I am building up a request similar to this:
> >
> > Invocation.Builder builder = ClientBuilder.newClient().target("
> > http://localhost:8080/hello
> ").request(MediaType.TEXT_PLAIN_TYPE).header("foo",
> > "bar");
> > Response response = builder.get();
> >
> > However, when the request gets to the server, I don't see the "foo"
> header
> > there.  I'm using CXF 3.0.5 (I've tried with newer versions too, but it
> > doesn't work).
> >
> I played a bit with the JAXRS20 systest test on the master, all works as
> expected. I wonder if may be some relevant fixes did not make it to
> 3.0.x...
> 3.0.9 does not work, right ? Can you try 3.1.6 ?
> I can look into it more next week...
>
> Thanks, Sergey
>

Reply via email to