Hi, I have a problem using the JAXRSClient with response headers. If the return value is of type javax.ws.rs.core.Response the returned instance does not contain response headers in some cases.
I set up a test branch on github under https://github.com/hoegertn/cxf-spring-aop This repo contains a branch "responseHeader" which has unit tests to show the problem. To run this project start de.hoegertn.Starter as Java Application and then launch de.hoegertn.TestHeaders as JUnit-Test. Both tests should print out the response headers received from the API. But only the response containing a body has headers set on the client-side. I think the problem occurs in org.apache.cxf.jaxrs.client.AbstractClient:366 Am I doing something wrong when creating the JAXRSClient or is this a bug? Regards, Thorsten
