I did not say I made a commit.
Here is the one I just did, works on 3.0.10-SNAPSHOT:

http://git-wip-us.apache.org/repos/asf/cxf/commit/968b1de8

Sergey
On 15/07/16 06:10, James Carman wrote:
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




--
Sergey Beryozkin

Talend Community Coders
http://coders.talend.com/

Reply via email to