Quantcast
Channel: Apache Timeline
Viewing all articles
Browse latest Browse all 5648

Regression in Content Type handling?

$
0
0
Hi,

I did upgrade from CXF 2.7.0 to 2.7.5 recently and recognized some changes in content type handling in the REST part of CXF.

There is one strange behavior with response handling in relation to content type. I am having a resource with a method annotated by @Path and @GET and which returns a JAX-RS response *). In the response object I do set various headers where one is the content type:

{DataServiceVersion=[2.0], Content-Type=[cvs], ETag=[W/"3"]}

On the http client the content type is not set in the response.

Is this a known issue?

Regards,

Stephan

*) Actually the resource is a root locator annotated with @PATH and a sub locator annotated with a @GET method.

Viewing all articles
Browse latest Browse all 5648

Trending Articles