[
https://issues.apache.org/jira/browse/CXF-6850?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15217748#comment-15217748
]
Sergey Beryozkin commented on CXF-6850:
---------------------------------------
Hi Jim,
can you please merge to 3.1.x and also 3.0.x ? Thanks
> javax.ws.rs.core.Request implementation doesn't match Accept-Encoding: * for
> any encoding value
> -------------------------------------------------------------------------------------------------
>
> Key: CXF-6850
> URL: https://issues.apache.org/jira/browse/CXF-6850
> Project: CXF
> Issue Type: Bug
> Components: JAX-RS
> Affects Versions: 3.1.6
> Reporter: Jim Ma
> Assignee: Jim Ma
> Fix For: 3.1.7, 3.2.0
>
>
> When client side set accept encoding to "*" value and send request to
> following operation, client always get notAcceptable .
> @GET
> @Path("/test")
> public Response test(@Context Request req) {
> List<Variant> list = Variant.encodings("CP1250", "UTF-8")
> ...
> if (null == req.selectVariant(list))
> return Response.notAcceptable(list).build();
> return Response.ok("entity").build();
> }
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)