cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Klevenz, Stephan" <>
Subject Regression in Content Type handling?
Date Fri, 31 May 2013 10:14:15 GMT

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?



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

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message