You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cxf.apache.org by GitBox <gi...@apache.org> on 2017/11/08 18:55:36 UTC

[GitHub] andymc12 opened a new pull request #335: [CXF-7553] Consider the req headers' quality factors in selectVariant

andymc12 opened a new pull request #335: [CXF-7553] Consider the req headers' quality factors in selectVariant
URL: https://github.com/apache/cxf/pull/335
 
 
   The Request.selectVariant method should return one of the passed-in Variants that is closest to the variant (combination of Accept, Accept-Language and Accept-Encoding headers with quality factors included).
   
   This bug was first reported in CXF 3.1.11, so I'll plan to fix it in 3.1.x-fixes first - and after proper review, I'll make the same change in 3.2.X (master).
   
   Please see the [JIRA](https://issues.apache.org/jira/browse/CXF-7553) for more details of the issue in question - I'm looking for confirmation that this is the appropriate spec-defined behavior (the spec and JAX-RS javadoc is a little ambiguous here) and that this is the best way to fix it.
   
   Thanks, Andy

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services